Package org.jboss.as.server.mgmt.domain
Class HostControllerConnectionService
java.lang.Object
org.jboss.as.server.mgmt.domain.HostControllerConnectionService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<HostControllerClient>,org.jboss.msc.value.Value<HostControllerClient>
public class HostControllerConnectionService
extends Object
implements org.jboss.msc.service.Service<HostControllerClient>
Service setting up the connection to the local host controller.
- Author:
- Emanuel Muckenhuber, Richard Opalka
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionHostControllerConnectionService(URI connectionURI, String serverName, String serverProcessName, org.wildfly.security.auth.client.AuthenticationContext authenticationContext, int connectOperationID, boolean managementSubsystemEndpoint, Supplier<SSLContext> sslContextSupplier, Supplier<ExecutorService> executorSupplier, Supplier<ScheduledExecutorService> scheduledExecutorSupplier, Supplier<org.jboss.remoting3.Endpoint> endpointSupplier, Supplier<ProcessStateNotifier> processStateNotifierSupplier) -
Method Summary
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
-
Constructor Details
-
HostControllerConnectionService
public HostControllerConnectionService(URI connectionURI, String serverName, String serverProcessName, org.wildfly.security.auth.client.AuthenticationContext authenticationContext, int connectOperationID, boolean managementSubsystemEndpoint, Supplier<SSLContext> sslContextSupplier, Supplier<ExecutorService> executorSupplier, Supplier<ScheduledExecutorService> scheduledExecutorSupplier, Supplier<org.jboss.remoting3.Endpoint> endpointSupplier, Supplier<ProcessStateNotifier> processStateNotifierSupplier)
-
-
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 stopContext) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<HostControllerClient>- Throws:
IllegalStateExceptionIllegalArgumentException
-