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 Modifier and Type Class Description static classHostControllerConnectionService.SSLContextSupplier
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostControllerClientgetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext stopContext)
-
-
-
Constructor Detail
-
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 Detail
-
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
public HostControllerClient getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<HostControllerClient>- Throws:
IllegalStateExceptionIllegalArgumentException
-
-