Package org.jboss.as.controller.remote
Class AbstractModelControllerOperationHandlerFactoryService
- java.lang.Object
-
- org.jboss.as.controller.remote.AbstractModelControllerOperationHandlerFactoryService
-
- All Implemented Interfaces:
org.jboss.as.protocol.mgmt.support.ManagementChannelInitialization
,org.jboss.msc.Service
,org.jboss.msc.service.Service<AbstractModelControllerOperationHandlerFactoryService>
,org.jboss.msc.value.Value<AbstractModelControllerOperationHandlerFactoryService>
- Direct Known Subclasses:
ModelControllerClientOperationHandlerFactoryService
public abstract class AbstractModelControllerOperationHandlerFactoryService extends Object implements org.jboss.msc.service.Service<AbstractModelControllerOperationHandlerFactoryService>, org.jboss.as.protocol.mgmt.support.ManagementChannelInitialization
Service used to create operation handlers per incoming channel- Author:
- Kabir Khan, Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceName
OPERATION_HANDLER_NAME_SUFFIX
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractModelControllerOperationHandlerFactoryService(Consumer<AbstractModelControllerOperationHandlerFactoryService> serviceConsumer, Supplier<ModelController> modelControllerSupplier, Supplier<ExecutorService> executorSupplier, Supplier<ScheduledExecutorService> scheduledExecutorSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExecutorService
getClientRequestExecutor()
protected ModelController
getController()
protected ExecutorService
getExecutor()
protected ResponseAttachmentInputStreamSupport
getResponseAttachmentSupport()
AbstractModelControllerOperationHandlerFactoryService
getValue()
void
start(org.jboss.msc.service.StartContext context)
void
stop(org.jboss.msc.service.StopContext stopContext)
-
-
-
Constructor Detail
-
AbstractModelControllerOperationHandlerFactoryService
protected AbstractModelControllerOperationHandlerFactoryService(Consumer<AbstractModelControllerOperationHandlerFactoryService> serviceConsumer, Supplier<ModelController> modelControllerSupplier, Supplier<ExecutorService> executorSupplier, Supplier<ScheduledExecutorService> scheduledExecutorSupplier)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
- Specified by:
start
in interfaceorg.jboss.msc.Service
- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext stopContext)
- Specified by:
stop
in interfaceorg.jboss.msc.Service
-
getValue
public AbstractModelControllerOperationHandlerFactoryService getValue() throws IllegalStateException
- Specified by:
getValue
in interfaceorg.jboss.msc.value.Value<AbstractModelControllerOperationHandlerFactoryService>
- Throws:
IllegalStateException
-
getController
protected ModelController getController()
-
getExecutor
protected ExecutorService getExecutor()
-
getResponseAttachmentSupport
protected ResponseAttachmentInputStreamSupport getResponseAttachmentSupport()
-
getClientRequestExecutor
protected final ExecutorService getClientRequestExecutor()
-
-