Class RuntimeOperationStepHandler<C>
java.lang.Object
org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.wildfly.subsystem.resource.executor.RuntimeOperationStepHandler<C>
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler,ManagementResourceRegistrar
public class RuntimeOperationStepHandler<C>
extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
implements ManagementResourceRegistrar
Generic
OperationStepHandler for runtime operations.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeOperationStepHandler(RuntimeOperationExecutor<C> executor, Class<E> operationClass) RuntimeOperationStepHandler(RuntimeOperationExecutor<C> executor, Iterable<? extends RuntimeOperation<C>> operations) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) voidregister(org.jboss.as.controller.registry.ManagementResourceRegistration registration) Registers this object with a resource.Methods inherited from class org.jboss.as.controller.AbstractRuntimeOnlyHandler
execute, requiresRuntime, resourceMustExist
-
Constructor Details
-
RuntimeOperationStepHandler
-
RuntimeOperationStepHandler
public RuntimeOperationStepHandler(RuntimeOperationExecutor<C> executor, Iterable<? extends RuntimeOperation<C>> operations)
-
-
Method Details
-
register
public void register(org.jboss.as.controller.registry.ManagementResourceRegistration registration) Description copied from interface:ManagementResourceRegistrarRegisters this object with a resource.- Specified by:
registerin interfaceManagementResourceRegistrar- Parameters:
registration- a registration for a management resource
-
executeRuntimeStep
protected void executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) - Specified by:
executeRuntimeStepin classorg.jboss.as.controller.AbstractRuntimeOnlyHandler
-