Package org.forgerock.openig.heap
Class TokenResolver
java.lang.Object
org.forgerock.openig.heap.TokenResolver
Deprecated, for removal: This API element is subject to removal in a future version.
Offers a user-friendly API to the COMMONS config property resolvers.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Resolves the given token, returningnull
if resolution failed.Deprecated, for removal: This API element is subject to removal in a future version.Resolves the given token, returningdef
value if resolution failed.
-
Method Details
-
resolve
Deprecated, for removal: This API element is subject to removal in a future version.Resolves the given token, returningnull
if resolution failed.- Parameters:
token
- token to resolve (nevernull
)- Returns:
- the resolved value or null if unbound
-
resolve
Deprecated, for removal: This API element is subject to removal in a future version.Resolves the given token, returningdef
value if resolution failed.- Parameters:
token
- token to resolve (nevernull
)def
- default value to provide for unbound tokens (may benull
)- Returns:
- the resolved value or default value (may be null) if unbound
-