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
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
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
-