Package org.jboss.as.threads
Class ScheduledThreadPoolWriteAttributeHandler
java.lang.Object
org.jboss.as.controller.AbstractWriteAttributeHandler<Boolean>
org.jboss.as.threads.ThreadsWriteAttributeOperationHandler
org.jboss.as.threads.ScheduledThreadPoolWriteAttributeHandler
- All Implemented Interfaces:
OperationStepHandler
Handles attribute writes for a scheduled thread pool.
- Author:
- Alexey Loubyansky
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
AbstractWriteAttributeHandler.HandbackHolder<T extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionScheduledThreadPoolWriteAttributeHandler(RuntimeCapability<Void> capability, org.jboss.msc.service.ServiceName serviceNameBase) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyOperation(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.msc.service.ServiceController<?> service, boolean forRollback) protected org.jboss.msc.service.ServiceController<?>getService(OperationContext context, org.jboss.dmr.ModelNode model) Methods inherited from class org.jboss.as.threads.ThreadsWriteAttributeOperationHandler
applyUpdateToRuntime, registerAttributes, revertUpdateToRuntimeMethods inherited from class org.jboss.as.controller.AbstractWriteAttributeHandler
execute, finishModelStage, getAttributeDefinition, recordCapabilitiesAndRequirements, requiresRuntime, validateUpdatedModel
-
Constructor Details
-
ScheduledThreadPoolWriteAttributeHandler
public ScheduledThreadPoolWriteAttributeHandler(RuntimeCapability<Void> capability, org.jboss.msc.service.ServiceName serviceNameBase)
-
-
Method Details
-
applyOperation
protected void applyOperation(OperationContext context, org.jboss.dmr.ModelNode operation, String attributeName, org.jboss.msc.service.ServiceController<?> service, boolean forRollback) - Specified by:
applyOperationin classThreadsWriteAttributeOperationHandler
-
getService
protected org.jboss.msc.service.ServiceController<?> getService(OperationContext context, org.jboss.dmr.ModelNode model) throws OperationFailedException - Specified by:
getServicein classThreadsWriteAttributeOperationHandler- Throws:
OperationFailedException
-