Package org.wildfly.core.embedded.spi
Interface BootstrappedEmbeddedProcess
-
public interface BootstrappedEmbeddedProcessProvides access to objects used to interact with a started embedded process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes out the use of the embedded process.EmbeddedModelControllerClientFactorygetModelControllerClientFactory()Gets a factory forcreating management clientsto manage with the embedded process.ProcessStateNotifiergetProcessStateNotifier()Get the object used to track thestateof the embedded process.org.jboss.msc.service.ServiceContainergetServiceContainer()Gets the JBoss MSCServiceContainerused by the embedded process.
-
-
-
Method Detail
-
getServiceContainer
org.jboss.msc.service.ServiceContainer getServiceContainer()
Gets the JBoss MSCServiceContainerused by the embedded process.- Returns:
- the service container. Will not return
null.
-
getProcessStateNotifier
ProcessStateNotifier getProcessStateNotifier()
Get the object used to track thestateof the embedded process.- Returns:
- the state notifier. Will not return
null.
-
getModelControllerClientFactory
EmbeddedModelControllerClientFactory getModelControllerClientFactory()
Gets a factory forcreating management clientsto manage with the embedded process.- Returns:
- the factory. May return
nullif the embedded process is not inEmbeddedProcessState.RUNNINGstate.
-
close
void close()
Closes out the use of the embedded process. This method must be called when the embedding application is done with the embedded process.
-
-