In this section, we will investigate some of the classes that provide the deployment and configuration management functionality of Apache Geronimo.
A ConfigurationManager encapsulates the logic for dealing with configurations. Configurations have a lifecycle with three states: installed, loaded, and running. Installed means that the configuration is present in the server's repository. Loaded means that the configuration Gbean, including the configuration's ClassLoader
, is running. Running means that all of the GBeans in the configuration are running. When a configuration is not loaded, only its ConfigurationData
is available for inspection. It's normally not possible to inspect the GBeans in the configuration because there's no ClassLoader
that could be used to load the classes needed by the instances of GBeanData
in the configuration. Once the configuration has been loaded, its ClassLoader
is available so that the instances of GBeanData
can...