We will look at some of the low-level services provided by Geronimo.
The Kernel interface provides methods to obtain various services such as LifecycleMonitor, DependencyManager, ProxyManager, and so on. It also provides methods to query GBeans, load, start, stop, unload GBeans, set, and get GBean attributes, and invoke methods on GBeans. You can instantiate a kernel instance by using the KernelRegistry.getSingleKernel()
API. We will now look at some of the APIs in the Kernel, and their uses:
getDependencyManager()
: Returns the DependencyManager kernel service. TheDependencyManager
uses the nomenclature of parent-child, where a child is dependent on a parent. DependencyManager is used to manage dependencies between GBeans.getLifecycleMonitor()
: Returns the LifecycleMonitor kernel service.getProxyManager()
: Returns the ProxyManager kernel service.ProxyManager
manages kernel proxies. All...