Class PathAddHandler
java.lang.Object
org.jboss.as.controller.services.path.PathAddHandler
- All Implemented Interfaces:
OperationStepHandler
Handler for the path resource add operation.
- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(OperationContext context, org.jboss.dmr.ModelNode operation) {@inheritDocstatic org.jboss.dmr.ModelNodegetAddPathOperation(PathAddress address, org.jboss.dmr.ModelNode path, org.jboss.dmr.ModelNode relativeTo)
-
Field Details
-
OPERATION_NAME
- See Also:
-
-
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:
executein interfaceOperationStepHandler- Parameters:
context- the operation contextoperation- the operation being executed- Throws:
OperationFailedException- if the operation failed before callingcontext.completeStep()
-