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 classAliasEntry.AliasContextA wrapper aroundOperationContextfor the requested alias address, allowing extra contextual information when converting alias addresses.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAliasEntry(ManagementResourceRegistration target)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PathAddressconvertToTargetAddress(PathAddress aliasAddress)Deprecated.This will be removed in WildFly Core 3; override convertToTargetAddress(PathAddress, AliasContext) insteadPathAddressconvertToTargetAddress(PathAddress aliasAddress, AliasEntry.AliasContext aliasContext)Convert the alias address to the target address.protected PathAddressgetAliasAddress()Gets the address to which this alias is registeredprotected PathAddressgetTargetAddress()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
@Deprecated public PathAddress convertToTargetAddress(PathAddress aliasAddress)
Deprecated.This will be removed in WildFly Core 3; override convertToTargetAddress(PathAddress, AliasContext) insteadConvert the alias address to the target address- Parameters:
aliasAddress- the alias address- Returns:
- the target address
-
convertToTargetAddress
public PathAddress convertToTargetAddress(PathAddress aliasAddress, AliasEntry.AliasContext aliasContext)
Convert the alias address to the target address.- Parameters:
aliasAddress- the alias addressaliasAddress- the alias address- Returns:
- the target address
-
-