Class PathAddHandler

java.lang.Object
org.jboss.as.controller.services.path.PathAddHandler
All Implemented Interfaces:
OperationStepHandler

public class PathAddHandler extends Object implements OperationStepHandler
Handler for the path resource add operation.
Author:
Brian Stansberry (c) 2011 Red Hat Inc.
  • Field Details

  • Method Details

    • getAddPathOperation

      public static org.jboss.dmr.ModelNode getAddPathOperation(PathAddress address, org.jboss.dmr.ModelNode path, org.jboss.dmr.ModelNode relativeTo)
    • execute

      public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
      {@inheritDoc
      Specified by:
      execute in interface OperationStepHandler
      Parameters:
      context - the operation context
      operation - the operation being executed
      Throws:
      OperationFailedException - if the operation failed before calling context.completeStep()