Package org.jboss.as.controller.registry
Class WildcardReadResourceDescriptionAddressHack
- java.lang.Object
-
- org.jboss.as.controller.registry.WildcardReadResourceDescriptionAddressHack
-
public class WildcardReadResourceDescriptionAddressHack extends Object
This class is private apiWhen 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 byAliasStepHandler
to 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 Constructor Description WildcardReadResourceDescriptionAddressHack()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathAddress
detachAliasAddress(OperationContext context, org.jboss.dmr.ModelNode operation)
-
-
-
Method Detail
-
detachAliasAddress
public static PathAddress detachAliasAddress(OperationContext context, org.jboss.dmr.ModelNode operation)
-
-