Package net.obvj.confectory
Class Confectory
- java.lang.Object
-
- net.obvj.confectory.Confectory
-
public final class Confectory extends Object
A Facade for common operations in theConfectoryproject.- Since:
- 0.1.0
- Author:
- FernandoNSC (Fernando Tiannamen)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigurationContainercontainer()Retrieves aConfigurationContainerinstance that can be accessed statically for holding global configuration data.static ConfectorySettingssettings()Returns an object containing global settings for theConfectoryproject.
-
-
-
Method Detail
-
container
public static ConfigurationContainer container()
Retrieves aConfigurationContainerinstance that can be accessed statically for holding global configuration data.It is possible to copy objects from an existing
ConfigurationContainerinto the global instance by calling:Confectory.container().addAll(otherContainer);Note:
Configurationdata stored in the global container may be shared by other applications loaded in the same classpath.- Returns:
- the global
ConfigurationContainerinstance
-
settings
public static ConfectorySettings settings()
Returns an object containing global settings for theConfectoryproject.- Returns:
- a reference to the current
ConfectorySettingsinstance
-
-