|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.prefs.Preferences
java.util.prefs.AbstractPreferences
org.apache.directory.server.core.prefs.ServerSystemPreferences
public class ServerSystemPreferences
A server side system Preferences implementation. This implementation
presumes the creation of a root system preferences node in advance. This
should be included with the system.ldif that is packaged with the server.
| Field Summary |
|---|
| Fields inherited from class java.util.prefs.AbstractPreferences |
|---|
lock, newNode |
| Fields inherited from class java.util.prefs.Preferences |
|---|
MAX_KEY_LENGTH, MAX_NAME_LENGTH, MAX_VALUE_LENGTH |
| Constructor Summary | |
|---|---|
ServerSystemPreferences(DirectoryService directoryService)
Creates a preferences object for the system preferences root. |
|
ServerSystemPreferences(ServerSystemPreferences parent,
java.lang.String name)
Creates a preferences object using a relative name. |
|
| Method Summary | |
|---|---|
protected java.lang.String[] |
childrenNamesSpi()
|
protected java.util.prefs.AbstractPreferences |
childSpi(java.lang.String name)
|
void |
close()
|
protected void |
flushSpi()
|
protected java.lang.String |
getSpi(java.lang.String key)
|
protected java.lang.String[] |
keysSpi()
|
protected void |
putSpi(java.lang.String key,
java.lang.String value)
|
protected void |
removeNodeSpi()
|
protected void |
removeSpi(java.lang.String key)
|
protected void |
syncSpi()
|
java.util.Dictionary<java.lang.String,java.lang.String> |
wrapAsDictionary()
Wraps this ServerPreferences object as a Dictionary. |
| Methods inherited from class java.util.prefs.AbstractPreferences |
|---|
absolutePath, addNodeChangeListener, addPreferenceChangeListener, cachedChildren, childrenNames, clear, exportNode, exportSubtree, flush, get, getBoolean, getByteArray, getChild, getDouble, getFloat, getInt, getLong, isRemoved, isUserNode, keys, name, node, nodeExists, parent, put, putBoolean, putByteArray, putDouble, putFloat, putInt, putLong, remove, removeNode, removeNodeChangeListener, removePreferenceChangeListener, sync, toString |
| Methods inherited from class java.util.prefs.Preferences |
|---|
importPreferences, systemNodeForPackage, systemRoot, userNodeForPackage, userRoot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerSystemPreferences(DirectoryService directoryService)
directoryService - the directory service core
public ServerSystemPreferences(ServerSystemPreferences parent,
java.lang.String name)
name - the name of the preference node to createparent - the parent of the preferences node to create| Method Detail |
|---|
public void close()
throws org.apache.directory.shared.ldap.exception.LdapException
org.apache.directory.shared.ldap.exception.LdapExceptionpublic java.util.Dictionary<java.lang.String,java.lang.String> wrapAsDictionary()
protected void flushSpi()
throws java.util.prefs.BackingStoreException
flushSpi in class java.util.prefs.AbstractPreferencesjava.util.prefs.BackingStoreException
protected void removeNodeSpi()
throws java.util.prefs.BackingStoreException
removeNodeSpi in class java.util.prefs.AbstractPreferencesjava.util.prefs.BackingStoreException
protected void syncSpi()
throws java.util.prefs.BackingStoreException
syncSpi in class java.util.prefs.AbstractPreferencesjava.util.prefs.BackingStoreException
protected java.lang.String[] childrenNamesSpi()
throws java.util.prefs.BackingStoreException
childrenNamesSpi in class java.util.prefs.AbstractPreferencesjava.util.prefs.BackingStoreException
protected java.lang.String[] keysSpi()
throws java.util.prefs.BackingStoreException
keysSpi in class java.util.prefs.AbstractPreferencesjava.util.prefs.BackingStoreExceptionprotected void removeSpi(java.lang.String key)
removeSpi in class java.util.prefs.AbstractPreferencesprotected java.lang.String getSpi(java.lang.String key)
getSpi in class java.util.prefs.AbstractPreferences
protected void putSpi(java.lang.String key,
java.lang.String value)
putSpi in class java.util.prefs.AbstractPreferencesprotected java.util.prefs.AbstractPreferences childSpi(java.lang.String name)
childSpi in class java.util.prefs.AbstractPreferences
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||