Package de.intarsys.tools.preferences
Class NullPreferencesFactory
- java.lang.Object
-
- de.intarsys.tools.preferences.NullPreferencesFactory
-
- All Implemented Interfaces:
IPreferencesFactory
public class NullPreferencesFactory extends java.lang.Object implements IPreferencesFactory
A factory forNullPreferences
-
-
Constructor Summary
Constructors Constructor Description NullPreferencesFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPreferencesgetMain()The standard root to be used by a "main" component.IPreferencesgetRoot()The global root where allIPreferencesare mounted.
-
-
-
Method Detail
-
getMain
public IPreferences getMain()
Description copied from interface:IPreferencesFactoryThe standard root to be used by a "main" component.- Specified by:
getMainin interfaceIPreferencesFactory- Returns:
- The standard root to be used by a "main" component.
-
getRoot
public IPreferences getRoot()
Description copied from interface:IPreferencesFactoryThe global root where allIPreferencesare mounted. Most often this is the parent of the "main"IPreferencesobject.- Specified by:
getRootin interfaceIPreferencesFactory- Returns:
- The global root where all
IPreferencesare mounted.
-
-