Package org.forgerock.opendj.config
Class ManagedObjectDefinitionResource
java.lang.Object
org.forgerock.opendj.config.ManagedObjectDefinitionResource
A class for retrieving non-internationalized resource properties associated
with a managed object definition.
Resource properties are not available for the TopCfgDefn.
-
Method Summary
Modifier and TypeMethodDescriptioncreateForProfile(String profile) Creates a new resource instance for the named profile.getString(AbstractManagedObjectDefinition<?, ?> d, String key) Get the resource value associated with the specified key.
-
Method Details
-
createForProfile
Creates a new resource instance for the named profile.- Parameters:
profile- The name of the profile.- Returns:
- Returns the resource instance for the named profile.
-
getString
Get the resource value associated with the specified key.- Parameters:
d- The managed object definition.key- The resource key.- Returns:
- Returns the resource value associated with the specified key.
- Throws:
MissingResourceException- If the key was not found.UnsupportedOperationException- If the provided managed object definition was theTopCfgDefn.
-