| java.lang.Object com.sun.jsr135.DynamicProperties
DynamicProperties | public class DynamicProperties implements PropertyProvider(Code) | | This class provides values for the following dynamic properties:
|
Method Summary | |
native public boolean | cacheProperties() Tells underlying implementation to cache values of all the properties
corresponding to this particular class. | public static DynamicProperties | getInstance() Returns one and only instance of this class. | public String | getValue(String key, boolean fromCache) Returns current value for the dynamic property corresponding to the
given key. |
cacheProperties | native public boolean cacheProperties()(Code) | | Tells underlying implementation to cache values of all the properties
corresponding to this particular class. This call can be ignored if
property caching is not supported.
true on success, false otherwise |
getInstance | public static DynamicProperties getInstance()(Code) | | Returns one and only instance of this class.
This method does not need to be synchronized because it will be called
only sequentially during isolate initialization.
DynamicProperties instance |
getValue | public String getValue(String key, boolean fromCache)(Code) | | Returns current value for the dynamic property corresponding to the
given key. This method is called upon retrieval of any of the properties
supported by this class.
Parameters: key - key for the property being retrieved. Parameters: fromCache - indicates whether property value should be taken frominternal cache. It can be ignored if properties caching is notsupported by underlying implementation. current property value |
|
|