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 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 context
        operation - operation model for resolving operation parameters
        executable - the contextual executable object
        Returns:
        the result of the execution (possibly null).
        Throws:
        OperationFailedException - if execution fails