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
  • 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:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getFutureResult

      public Future<org.jboss.dmr.ModelNode> getFutureResult()
    • getValue

      Specified by:
      getValue in interface org.jboss.msc.value.Value<Void>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getClientInjector

      public org.jboss.msc.value.InjectedValue<HostControllerClient> getClientInjector()
    • getServerController

      public org.jboss.msc.value.InjectedValue<ModelController> getServerController()
    • getExecutorInjector

      public org.jboss.msc.value.InjectedValue<Executor> getExecutorInjector()