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 IPreferences
getMain()
The standard root to be used by a "main" component.IPreferences
getRoot()
The global root where allIPreferences
are mounted.
-
-
-
Method Detail
-
getMain
public IPreferences getMain()
Description copied from interface:IPreferencesFactory
The standard root to be used by a "main" component.- Specified by:
getMain
in interfaceIPreferencesFactory
- Returns:
- The standard root to be used by a "main" component.
-
getRoot
public IPreferences getRoot()
Description copied from interface:IPreferencesFactory
The global root where allIPreferences
are mounted. Most often this is the parent of the "main"IPreferences
object.- Specified by:
getRoot
in interfaceIPreferencesFactory
- Returns:
- The global root where all
IPreferences
are mounted.
-
-