Package org.jboss.as.controller.registry
Class WildcardReadResourceDescriptionAddressHack
java.lang.Object
org.jboss.as.controller.registry.WildcardReadResourceDescriptionAddressHack
This class is private api
When r-r-d is called for a wildcard address, which is an alias, we want r-r-d to return the invoked address. However, AliasStepHandler replaces the operation address with the real address, which in turn means that the r-r-d handler never knows about the real address. This class contains two methods:
attachAliasAddress()called byAliasStepHandlerto attach the original/alias PathAddressdetachAliasAddress()called byGlobalOperationHandlers.RegistrationAddressResolver(called by the r-r-d handler) to detach the original PathAddress
:read-resource-description we avoid the risk of a call to another operation at an alias address pollutes a
subsequent :read-resource-description call at a 'real' address.- Author:
- Kabir Khan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PathAddressdetachAliasAddress(OperationContext context, org.jboss.dmr.ModelNode operation)
-
Constructor Details
-
WildcardReadResourceDescriptionAddressHack
public WildcardReadResourceDescriptionAddressHack()
-
-
Method Details
-
detachAliasAddress
public static PathAddress detachAliasAddress(OperationContext context, org.jboss.dmr.ModelNode operation)
-