Package org.jboss.as.server.embedded
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
BaseEmbeddedProcessBootstrapimplementation that provides the bootstrap behavior that is common to an embeddedStandaloneServerandHostController.
-
-
Constructor Summary
Constructors Constructor Description AbstractEmbeddedProcessBootstrap()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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.BootstrappedEmbeddedProcessstartup(org.wildfly.core.embedded.spi.EmbeddedProcessBootstrapConfiguration configuration)
-
-
-
Method Detail
-
startup
public org.wildfly.core.embedded.spi.BootstrappedEmbeddedProcess startup(org.wildfly.core.embedded.spi.EmbeddedProcessBootstrapConfiguration configuration) throws Exception- Specified by:
startupin interfaceorg.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 benull.configuration- configuration information for starting. Cannot benull.extraServices- activators for other services to start- Returns:
- future from which the MSC service container can be obtained. May return
nullin the unusual case of the configuration not looking for a running process (e.g. used a--helpcommmand argument.) - Throws:
Exception- if one occurs
-
-