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.ServiceNameOPERATION_HANDLER_NAME_SUFFIX
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractModelControllerOperationHandlerFactoryService(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 ExecutorServicegetClientRequestExecutor()protected ModelControllergetController()protected ExecutorServicegetExecutor()protected ResponseAttachmentInputStreamSupportgetResponseAttachmentSupport()AbstractModelControllerOperationHandlerFactoryServicegetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(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:
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 AbstractModelControllerOperationHandlerFactoryService getValue() throws IllegalStateException
- Specified by:
getValuein 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()
-
-