Package org.wildfly.core.embedded.spi
Interface EmbeddedProcessBootstrap
-
public interface EmbeddedProcessBootstrapService interface that standalone server or host controller bootstrap logic can implement to allow their type of process to be bootstrapped in an embedded environment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEmbeddedProcessBootstrap.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmbeddedProcessBootstrap.TypegetType()Gets the type of managed process this object bootstraps.BootstrappedEmbeddedProcessstartup(EmbeddedProcessBootstrapConfiguration configuration)Bootstraps an embedded process based on the provided configuration.
-
-
-
Method Detail
-
getType
EmbeddedProcessBootstrap.Type getType()
Gets the type of managed process this object bootstraps.- Returns:
- the type. Will not be
null.
-
startup
BootstrappedEmbeddedProcess startup(EmbeddedProcessBootstrapConfiguration configuration) throws Exception
Bootstraps an embedded process based on the provided configuration.- Parameters:
configuration- configuration for the bootstrap. Cannot benull.- Returns:
- container object providing the embedding code access to items needed to manage the embedded process
- Throws:
Exception- if one occurs while bootstrapping the process.
-
-