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
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractModelControllerOperationHandlerFactoryService(Consumer<AbstractModelControllerOperationHandlerFactoryService> serviceConsumer, Supplier<ModelController> modelControllerSupplier, Supplier<ExecutorService> executorSupplier, Supplier<ScheduledExecutorService> scheduledExecutorSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected final ExecutorServiceprotected ModelControllerprotected ExecutorServiceprotected ResponseAttachmentInputStreamSupportgetValue()voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext stopContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.protocol.mgmt.support.ManagementChannelInitialization
startReceiving
-
Field Details
-
OPERATION_HANDLER_NAME_SUFFIX
public static final org.jboss.msc.service.ServiceName OPERATION_HANDLER_NAME_SUFFIX
-
-
Constructor Details
-
AbstractModelControllerOperationHandlerFactoryService
protected AbstractModelControllerOperationHandlerFactoryService(Consumer<AbstractModelControllerOperationHandlerFactoryService> serviceConsumer, Supplier<ModelController> modelControllerSupplier, Supplier<ExecutorService> executorSupplier, Supplier<ScheduledExecutorService> scheduledExecutorSupplier)
-
-
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
public AbstractModelControllerOperationHandlerFactoryService getValue() throws IllegalStateException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<AbstractModelControllerOperationHandlerFactoryService>- Throws:
IllegalStateException
-
getController
-
getExecutor
-
getResponseAttachmentSupport
-
getClientRequestExecutor
-