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

    Modifier and Type
    Method
    Description
    org.jboss.dmr.ModelNode
    execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, Operation<C> executable)
    Executes the specified executable against the specified operation context.
  • 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 context
      operation - operation model for resolving operation parameters
      executable - the contextual executable object
      Returns:
      the result of the execution (possibly null).
      Throws:
      org.jboss.as.controller.OperationFailedException - if execution fails