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
GenericOperationStepHandlerfor runtime operations.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description RuntimeOperationStepHandler(RuntimeOperationExecutor<C> executor, Class<E> operationClass)RuntimeOperationStepHandler(RuntimeOperationExecutor<C> executor, Iterable<? extends RuntimeOperation<C>> operations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.
-
-
-
Constructor Detail
-
RuntimeOperationStepHandler
public RuntimeOperationStepHandler(RuntimeOperationExecutor<C> executor, Class<E> operationClass)
-
RuntimeOperationStepHandler
public RuntimeOperationStepHandler(RuntimeOperationExecutor<C> executor, Iterable<? extends RuntimeOperation<C>> operations)
-
-
Method Detail
-
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
-
-