The EnvironmentProvider is a singleton object to store and provide
Environment instances. It provides the possibility to register and
retrieve Environment instances on a per object or per class base.
Since an Environment is designed as a substitute for some features
of the JDK
java.lang.System class, the retrieval of the Environment
associated with a class should be possible without additional information about
the context. Class-based Environment objects are also associated with
the thread, that actually registered the instance.
author: Heiko Blau |