Interface Executor<C,E extends Executable<C>>
-
- Type Parameters:
C- the execution contextE- the contextual executable
- All Known Subinterfaces:
MetricExecutor<C>
public interface Executor<C,E extends Executable<C>>Encapsulates the execution of a contextual executable.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.dmr.ModelNodeexecute(org.jboss.as.controller.OperationContext context, E executable)Executes the specified executable against the specified operation context.
-
-
-
Method Detail
-
execute
org.jboss.dmr.ModelNode execute(org.jboss.as.controller.OperationContext context, E executable) throws org.jboss.as.controller.OperationFailedExceptionExecutes the specified executable against the specified operation context.- Parameters:
context- an operation contextexecutable- the contextual executable object- Returns:
- the result of the execution (possibly null).
- Throws:
org.jboss.as.controller.OperationFailedException- if execution fails
-
-