public class ADFPreferencesFactory
extends java.lang.Object
implements java.util.prefs.PreferencesFactory
| Constructor and Description | 
|---|
| ADFPreferencesFactory()The default constructor which assumes the MDSInstance object will be pulled
 from the ADF Web Application context object, as opposed to having the
 ADFPreferencesConfig passed into the constructor pre configured with the
 desired settings, i.e. | 
| ADFPreferencesFactory(ADFPreferencesConfig config)Preference Factory constructor to be used by consumers who which to access
 the Preferences Utility outside the context of an ADF web application. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | cleanUpApplicationState(java.lang.ClassLoader appClassLoader)This method cleans up ADFPreferences related objects from the application
 classloader. | 
| protected ADFPreferencesRegistry | getRegistry()Returns the Application Preference Nodes registry from which 
 preference root nodes are obtained. | 
| java.util.prefs.Preferences | sharedSystemRoot()Returns the shared system root preference node corresponding to the calling
 J2EE authenicated user. | 
| java.util.prefs.Preferences | sharedUserRoot()Returns the shared user root preference node corresponding to the calling
 J2EE authenicated user. | 
| java.util.prefs.Preferences | systemRoot()Returns the system root preference node. | 
| java.util.prefs.Preferences | userOverSystemRoot()Returns the user over system root preference node corresponding
 to the calling J2EE authenicated user where should no user preference
 exist the  preference utility will then return the equivalent system
 preference, if the preference does not exist here | 
| java.util.prefs.Preferences | userRoot()Returns the user root preference node corresponding to the calling
 J2EE authenicated user. | 
public ADFPreferencesFactory()
public ADFPreferencesFactory(ADFPreferencesConfig config)
config - The ADFPreferenceConfig object to be used by this factory.public java.util.prefs.Preferences systemRoot()
systemRoot in interface java.util.prefs.PreferencesFactorypublic java.util.prefs.Preferences userRoot()
userRoot in interface java.util.prefs.PreferencesFactorypublic java.util.prefs.Preferences sharedUserRoot()
public java.util.prefs.Preferences sharedSystemRoot()
public java.util.prefs.Preferences userOverSystemRoot()
protected ADFPreferencesRegistry getRegistry()
public static void cleanUpApplicationState(java.lang.ClassLoader appClassLoader)
appClassLoader - The application class loader.