public class ServerToHostOperationHandlerFactoryService extends Object implements ManagementChannelInitialization, org.jboss.msc.service.Service<ManagementChannelInitialization>
HostControllerClient
ManagementChannelInitialization.ManagementChannelShutdownHandle
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
ManagementChannelInitialization |
getValue() |
static void |
install(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.msc.service.ServiceName serverInventoryName,
ExecutorService executorService,
ServerToHostProtocolHandler.OperationExecutor operationExecutor,
DomainController domainController,
ExpressionResolver expressionResolver,
File tempDir) |
void |
start(org.jboss.msc.service.StartContext context) |
ManagementChannelHandler |
startReceiving(org.jboss.remoting3.Channel channel)
Initialize the management channel and start receiving request.
|
void |
stop(org.jboss.msc.service.StopContext context) |
public static void install(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName serverInventoryName, ExecutorService executorService, ServerToHostProtocolHandler.OperationExecutor operationExecutor, DomainController domainController, ExpressionResolver expressionResolver, File tempDir)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<ManagementChannelInitialization>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<ManagementChannelInitialization>
public ManagementChannelInitialization getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<ManagementChannelInitialization>
IllegalStateException
IllegalArgumentException
public ManagementChannelHandler startReceiving(org.jboss.remoting3.Channel channel)
ManagementChannelInitialization
ManagementChannelShutdownHandle
which can be used to coordinate a controlled shutdown
of management channels allowing active operations to complete before shutting down.startReceiving
in interface ManagementChannelInitialization
channel
- opened channelCopyright © 2023 JBoss by Red Hat. All rights reserved.