Package org.jboss.as.server.mgmt.domain
Class ServerBootOperationsService
java.lang.Object
org.jboss.as.server.mgmt.domain.ServerBootOperationsService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<Void>,org.jboss.msc.value.Value<Void>
public class ServerBootOperationsService
extends Object
implements org.jboss.msc.service.Service<Void>
Service triggering the registration at the local host-controller and resolving the boot operations.
This service depends on the
HostControllerConnection and ModelController, relying
on the fact that the boot() process happens in a different thread and the controller service is already
seen as started. The Future is used in the Bootstrap.ConfigurationPersisterFactory
to block on the registration result.- Author:
- Emanuel Muckenhuber
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.value.InjectedValue<HostControllerClient>org.jboss.msc.value.InjectedValue<Executor>Future<org.jboss.dmr.ModelNode>org.jboss.msc.value.InjectedValue<ModelController>getValue()voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Constructor Details
-
ServerBootOperationsService
public ServerBootOperationsService()
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getFutureResult
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<Void>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getClientInjector
-
getServerController
-
getExecutorInjector
-