Interface Bootstrap

    • Method Detail

      • bootstrap

        org.jboss.threads.AsyncFuture<org.jboss.msc.service.ServiceContainer> bootstrap​(Bootstrap.Configuration configuration,
                                                                                        List<org.jboss.msc.service.ServiceActivator> extraServices)
        Bootstrap a new server instance, providing a Future that will provide the server's MSC ServiceContainer once the root service for the server is started. Note: The future will provide its value before the full server boot is complete. To await the full boot, use startup(Configuration, List).
        Parameters:
        configuration - the server configuration
        extraServices - additional services to start and stop with the server instance
        Returns:
        the future service container
      • startup

        org.jboss.threads.AsyncFuture<org.jboss.msc.service.ServiceContainer> startup​(Bootstrap.Configuration configuration,
                                                                                      List<org.jboss.msc.service.ServiceActivator> extraServices)
        Calls bootstrap(Configuration, List) to bootstrap the container. The value for the returned future becomes available when all installed services have been started/failed.
        Parameters:
        configuration - the server configuration
        extraServices - additional services to start and stop with the server instance
        Returns:
        the future service container
      • failed

        void failed()
        Alerts this bootstrap instance that a failure has occurred during bootstrap or startup and it should clean up resources.