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 Summary
Fields Modifier and Type Field Description static StringOPERATION_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(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 Detail
-
OPERATION_NAME
public static final String OPERATION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
-
-