public class ServerBootOperationsService extends Object implements org.jboss.msc.service.Service<Void>
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.| Constructor and Description |
|---|
ServerBootOperationsService() |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.value.InjectedValue<HostControllerClient> |
getClientInjector() |
org.jboss.msc.value.InjectedValue<Executor> |
getExecutorInjector() |
Future<org.jboss.dmr.ModelNode> |
getFutureResult() |
org.jboss.msc.value.InjectedValue<ModelController> |
getServerController() |
Void |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic Future<org.jboss.dmr.ModelNode> getFutureResult()
public Void getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<Void>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.value.InjectedValue<HostControllerClient> getClientInjector()
public org.jboss.msc.value.InjectedValue<ModelController> getServerController()
public org.jboss.msc.value.InjectedValue<Executor> getExecutorInjector()
Copyright © 2021 JBoss by Red Hat. All rights reserved.