|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.prefs.StandardPreferenceService
Use the newStandardPreferenceService
static factory method(s),
not the StandardPreferenceService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private PrefEntryCache |
prefEntryCache
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
private static boolean |
VERBOSE_CACHE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardPreferenceService()
|
Method Summary | |
private PrefEntry |
addToCache(PrefEntry[] aEntries,
String context,
PrefEntrySelector selector,
String name,
boolean found)
|
String[] |
children(String node,
String[] context)
Supported API: false |
void |
delete(String node,
String context,
String name)
Supported API: false |
String |
get(String node,
String[] context,
String name)
Supported API: false |
String |
get(String node,
String context,
String name)
Supported API: false |
PrefEntry[] |
getAll(WTPreferences pref,
String[] keys)
Supported API: false |
String |
getConceptualClassname()
Deprecated. |
PrefEntry[] |
getEntries(String node,
String[] context,
String name)
Supported API: false |
PrefEntry[] |
getEntries(String node,
String[] context,
String[] name)
Supported API: false |
PrefEntry[] |
getEntries(String node,
String context,
String name)
Supported API: false |
PrefEntry |
getEntry(String node,
String[] context,
String name)
Supported API: false |
PrefEntry |
getEntry(String node,
String context,
String name)
Supported API: false |
private PrefEntryCache |
getPrefEntryCache()
|
protected void |
initialize()
Supported API: false |
String[] |
keys(String node,
String[] context)
Supported API: false |
static StandardPreferenceService |
newStandardPreferenceService()
Supported API: false |
protected void |
performStartupProcess()
Supported API: false |
PrefEntry |
put(String node,
String context,
String name,
String value)
Supported API: false |
HashMap |
putAll(String node,
String context,
HashMap map)
This method will put/update several Preferences into the Preference System Supported API: true |
void |
updateEntry(PrefEntry entry)
Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private PrefEntryCache prefEntryCache
private static boolean VERBOSE
private static boolean VERBOSE_CACHE
Constructor Detail |
public StandardPreferenceService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess()
performStartupProcess
in class StandardManager
public static StandardPreferenceService newStandardPreferenceService() throws WTException
WTException
public PrefEntry put(String node, String context, String name, String value) throws WTException
put
in interface PreferenceService
node
- context
- name
- value
-
WTException
public String get(String node, String[] context, String name) throws WTException
get
in interface PreferenceService
node
- context
- name
-
WTException
public String get(String node, String context, String name) throws WTException
get
in interface PreferenceService
node
- context
- name
-
WTException
public void delete(String node, String context, String name) throws WTException
delete
in interface PreferenceService
node
- context
- name
-
WTException
public String[] children(String node, String[] context) throws WTException
children
in interface PreferenceService
node
- context
-
WTException
public String[] keys(String node, String[] context) throws WTException
keys
in interface PreferenceService
node
- context
-
WTException
public PrefEntry getEntry(String node, String[] context, String name) throws WTException
getEntry
in interface PreferenceService
node
- context
- name
-
WTException
public PrefEntry getEntry(String node, String context, String name) throws WTException
getEntry
in interface PreferenceService
node
- context
- name
-
WTException
public PrefEntry[] getEntries(String node, String[] context, String name) throws WTException
getEntries
in interface PreferenceService
node
- context
- name
-
WTException
public PrefEntry[] getEntries(String node, String context, String name) throws WTException
getEntries
in interface PreferenceService
node
- context
- name
-
WTException
public void updateEntry(PrefEntry entry) throws WTException
updateEntry
in interface PreferenceService
entry
- Updates the PrefEntry
WTException
public HashMap putAll(String node, String context, HashMap map) throws WTException
putAll
in interface PreferenceService
node
- The fully qualified node namecontext
- The edit_context to use for Preference updatingmap
- The map of key/value pairs
WTException
public PrefEntry[] getAll(WTPreferences pref, String[] keys) throws WTException
getAll
in interface PreferenceService
pref
- keys
-
WTException
public PrefEntry[] getEntries(String node, String[] context, String[] name) throws WTException
getEntries
in interface PreferenceService
node
- context
- name
-
WTException
private PrefEntryCache getPrefEntryCache()
protected void initialize() throws WTException
StandardManager
initialize
in class StandardManager
WTException
private PrefEntry addToCache(PrefEntry[] aEntries, String context, PrefEntrySelector selector, String name, boolean found) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |