Interface RuntimeOperationExecutor<C>
-
- Type Parameters:
C- the operation execution context.
public interface RuntimeOperationExecutor<C>Encapsulates the execution of a runtime operation.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.dmr.ModelNodeexecute(OperationContext context, org.jboss.dmr.ModelNode operation, RuntimeOperation<C> executable)Executes the specified executable against the specified operation context.
-
-
-
Method Detail
-
execute
org.jboss.dmr.ModelNode execute(OperationContext context, org.jboss.dmr.ModelNode operation, RuntimeOperation<C> executable) throws 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:
OperationFailedException- if execution fails
-
-