Class AbstractEmbeddedProcessBootstrap

java.lang.Object
org.jboss.as.server.embedded.AbstractEmbeddedProcessBootstrap
All Implemented Interfaces:
org.wildfly.core.embedded.spi.EmbeddedProcessBootstrap
Direct Known Subclasses:
StandaloneEmbeddedProcessBootstrap

public abstract class AbstractEmbeddedProcessBootstrap extends Object implements org.wildfly.core.embedded.spi.EmbeddedProcessBootstrap
Base EmbeddedProcessBootstrap implementation that provides the bootstrap behavior that is common to an embedded StandaloneServer and HostController.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.wildfly.core.embedded.spi.EmbeddedProcessBootstrap

    org.wildfly.core.embedded.spi.EmbeddedProcessBootstrap.Type
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract Future<org.jboss.msc.service.ServiceContainer>
    bootstrapEmbeddedProcess(ElapsedTime elapsedTime, org.wildfly.core.embedded.spi.EmbeddedProcessBootstrapConfiguration configuration, org.jboss.msc.service.ServiceActivator... extraServices)
    Subclass-specific bootstrap logic.
    org.wildfly.core.embedded.spi.BootstrappedEmbeddedProcess
    startup(org.wildfly.core.embedded.spi.EmbeddedProcessBootstrapConfiguration configuration)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wildfly.core.embedded.spi.EmbeddedProcessBootstrap

    getType
  • Constructor Details

    • AbstractEmbeddedProcessBootstrap

      public AbstractEmbeddedProcessBootstrap()
  • Method Details

    • startup

      public org.wildfly.core.embedded.spi.BootstrappedEmbeddedProcess startup(org.wildfly.core.embedded.spi.EmbeddedProcessBootstrapConfiguration configuration) throws Exception
      Specified by:
      startup in interface org.wildfly.core.embedded.spi.EmbeddedProcessBootstrap
      Throws:
      Exception
    • bootstrapEmbeddedProcess

      protected abstract Future<org.jboss.msc.service.ServiceContainer> bootstrapEmbeddedProcess(ElapsedTime elapsedTime, org.wildfly.core.embedded.spi.EmbeddedProcessBootstrapConfiguration configuration, org.jboss.msc.service.ServiceActivator... extraServices) throws Exception
      Subclass-specific bootstrap logic. Implementations should use the provided inputs to perform their bootstrap.
      Parameters:
      elapsedTime - tracker for elapsed time since embedded process 'start'. Cannot be null.
      configuration - configuration information for starting. Cannot be null.
      extraServices - activators for other services to start
      Returns:
      future from which the MSC service container can be obtained. May return null in the unusual case of the configuration not looking for a running process (e.g. used a --help commmand argument.)
      Throws:
      Exception - if one occurs