Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (


Class BundlePropertyResolver

  extended by oracle.ide.controller.PropertyResolver
      extended by oracle.ideri.util.BundlePropertyResolver

public class BundlePropertyResolver
extends PropertyResolver

A property resolver that lazily loads resources from a ResourceBundle. You can use this class in conjunction with Action to defer loading of resources until the Action.getValue(String) method is called.

See Also:
IdeAction, PropertyResolver

Constructor Summary
BundlePropertyResolver(java.lang.String bundleClass, java.lang.ClassLoader bundleClassLoader, java.util.Map actionKeyToBundleKey)
          Constructs a ResourceBundlePropertyResolver.
Method Summary
 java.lang.Object get(java.lang.String key)
          Get the value of the specified property.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public BundlePropertyResolver(java.lang.String bundleClass,
                              java.lang.ClassLoader bundleClassLoader,
                              java.util.Map actionKeyToBundleKey)
Constructs a ResourceBundlePropertyResolver.

bundleClass - the fully qualified class name of the resource bundle to load resources from. Must not be null or the empty string.
bundleClassLoader - the class loader to load resources from. If null, the current thread's context class loader will be used.
actionKeyToBundleKey - a map specifying which bundle key to use for a given action key.
Method Detail


public java.lang.Object get(java.lang.String key)
Get the value of the specified property.

This implementation lazily retrieves the value of the specified key from the associated resource bundle.

Specified by:
get in class PropertyResolver
propertyName - the name of a property. Will never be null.
the value of the specified property. May be null.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (


Copyright © 1997, 2011, Oracle. All rights reserved.