Interface OperationExecutor<C>
-
- Type Parameters:
C- the operation execution context.
public interface OperationExecutor<C>Encapsulates the execution of a runtime operation.- Author:
- Paul Ferraro, Radoslav Husar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.dmr.ModelNodeexecute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, Operation<C> executable)Executes the specified executable against the specified operation context.
-
-
-
Method Detail
-
execute
org.jboss.dmr.ModelNode execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, Operation<C> executable) throws org.jboss.as.controller.OperationFailedExceptionExecutes the specified executable against the specified operation context.- Parameters:
context- an operation contextoperation- operation model for resolving operation parametersexecutable- the contextual executable object- Returns:
- the result of the execution (possibly null).
- Throws:
org.jboss.as.controller.OperationFailedException- if execution fails
-
-