Package org.jboss.as.controller.registry
Class AliasEntry
- java.lang.Object
-
- org.jboss.as.controller.registry.AliasEntry
-
public abstract class AliasEntry extends Object
- Author:
- Kabir Khan
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AliasEntry.AliasContext
A wrapper aroundOperationContext
for the requested alias address, allowing extra contextual information when converting alias addresses.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AliasEntry(ManagementResourceRegistration target)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract PathAddress
convertToTargetAddress(PathAddress aliasAddress, AliasEntry.AliasContext aliasContext)
Convert the alias address to the target address.protected PathAddress
getAliasAddress()
Gets the address to which this alias is registeredprotected PathAddress
getTargetAddress()
Gets the address to which this alias should convert
-
-
-
Constructor Detail
-
AliasEntry
protected AliasEntry(ManagementResourceRegistration target)
-
-
Method Detail
-
getAliasAddress
protected PathAddress getAliasAddress()
Gets the address to which this alias is registered- Returns:
- the alias address
-
getTargetAddress
protected PathAddress getTargetAddress()
Gets the address to which this alias should convert- Returns:
- the target address
-
convertToTargetAddress
public abstract PathAddress convertToTargetAddress(PathAddress aliasAddress, AliasEntry.AliasContext aliasContext)
Convert the alias address to the target address.- Parameters:
aliasAddress
- the alias addressaliasContext
- the context- Returns:
- the target address
-
-