Package org.forgerock.openig.openam
Class OpenAMClassAliasResolver
- java.lang.Object
-
- org.forgerock.openig.openam.OpenAMClassAliasResolver
-
- All Implemented Interfaces:
ClassAliasResolver
public class OpenAMClassAliasResolver extends Object implements ClassAliasResolver
Register all the aliases supported by the openig-openam module.
-
-
Constructor Summary
Constructors Constructor Description OpenAMClassAliasResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
resolve(String alias)
Returns theClass
mapped to the given alias or null if the alias is unknown.Set<Class<? extends Heaplet>>
supportedTypes()
Returns the set of heaplet classes supported by this alias resolver.
-
-
-
Method Detail
-
resolve
public Class<?> resolve(String alias)
Description copied from interface:ClassAliasResolver
Returns theClass
mapped to the given alias or null if the alias is unknown.- Specified by:
resolve
in interfaceClassAliasResolver
- Parameters:
alias
- short name- Returns:
- the
Class
mapped to the given alias or null if the alias is unknown.
-
supportedTypes
public Set<Class<? extends Heaplet>> supportedTypes()
Description copied from interface:ClassAliasResolver
Returns the set of heaplet classes supported by this alias resolver.- Specified by:
supportedTypes
in interfaceClassAliasResolver
- Returns:
- a (possibly empty, never
null
) set of heaplet classes - See Also:
TypeInfo
,NoTypeInfo
-
-