Package org.openl.spring.env
Class PreferencePropertySource
- java.lang.Object
-
- org.springframework.core.env.PropertySource<Preferences>
-
- org.openl.spring.env.PreferencePropertySource
-
public class PreferencePropertySource extends org.springframework.core.env.PropertySource<Preferences>
Properties stored in a hierarchical collection of preference data using Preferences API. SeePreferencesfor details. Preferences will be stored in a node with a key:openl/{appName}
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPS_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetProperty(String name)
-
-
-
Field Detail
-
PROPS_NAME
public static final String PROPS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProperty
public Object getProperty(String name)
- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<Preferences>
-
-