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
-
Method Details
-
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.OperationFailedException Executes 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
-