Package org.jboss.as.controller.registry
Class AliasEntry.AliasContext
- java.lang.Object
-
- org.jboss.as.controller.registry.AliasEntry.AliasContext
-
- Enclosing class:
- AliasEntry
public static class AliasEntry.AliasContext extends Object
A wrapper aroundOperationContext
for the requested alias address, allowing extra contextual information when converting alias addresses.
-
-
Field Summary
Fields Modifier and Type Field Description static String
RECURSIVE_GLOBAL_OP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AliasEntry.AliasContext
create(PathAddress address, OperationContext delegate)
static AliasEntry.AliasContext
create(org.jboss.dmr.ModelNode operation, TransformationContext delegate)
static AliasEntry.AliasContext
create(org.jboss.dmr.ModelNode operation, Transformers.TransformationInputs transformationInputs)
org.jboss.dmr.ModelNode
getOperation()
Gets the operation being called.Resource
readResourceFromRoot(PathAddress address)
Resource
readResourceFromRoot(PathAddress address, boolean recursive)
-
-
-
Field Detail
-
RECURSIVE_GLOBAL_OP
public static final String RECURSIVE_GLOBAL_OP
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static AliasEntry.AliasContext create(PathAddress address, OperationContext delegate)
-
create
public static AliasEntry.AliasContext create(org.jboss.dmr.ModelNode operation, TransformationContext delegate)
-
create
public static AliasEntry.AliasContext create(org.jboss.dmr.ModelNode operation, Transformers.TransformationInputs transformationInputs)
-
readResourceFromRoot
public Resource readResourceFromRoot(PathAddress address)
-
readResourceFromRoot
public Resource readResourceFromRoot(PathAddress address, boolean recursive)
-
getOperation
public org.jboss.dmr.ModelNode getOperation()
Gets the operation being called. The operation is protected, so you cannot modify it. For the global operations when processing children recurively it will be a placeholder operation whose name isRECURSIVE_GLOBAL_OP
and the address is the address of the requested aliased resource.- Returns:
- the operation
-
-