Package org.apache.catalina.storeconfig
Class StoreConfigLifecycleListener
java.lang.Object
org.apache.catalina.storeconfig.StoreConfigLifecycleListener
- All Implemented Interfaces:
- LifecycleListener
Loads and registers a StoreConfig MBean with the name
 Catalina:type=StoreConfig.
 
 This listener must only be nested within Server elements.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcreateMBean(Server server) Create StoreConfig MBean and load StoreRegistry MBeans name isCatalina:type=StoreConfig.protected DynamicMBeangetManagedBean(Object object) Create a ManagedBean (StoreConfig).voidlifecycleEvent(LifecycleEvent event) Register StoreRegistry after Start the complete Server.voidsetStoreConfig(IStoreConfig storeConfig) voidsetStoreConfigClass(String storeConfigClass) voidsetStoreRegistry(String storeRegistry) 
- 
Field Details- 
registryThe configuration information registry for our managed beans.
 
- 
- 
Constructor Details- 
StoreConfigLifecycleListenerpublic StoreConfigLifecycleListener()
 
- 
- 
Method Details- 
lifecycleEventRegister StoreRegistry after Start the complete Server.- Specified by:
- lifecycleEventin interface- LifecycleListener
- Parameters:
- event- LifecycleEvent that has occurred
- See Also:
 
- 
createMBeanCreate StoreConfig MBean and load StoreRegistry MBeans name isCatalina:type=StoreConfig.- Parameters:
- server- The Server instance
 
- 
getManagedBeanCreate a ManagedBean (StoreConfig).- Parameters:
- object- The object to manage
- Returns:
- an MBean wrapping the object
- Throws:
- Exception- if an error occurred
 
- 
getStoreConfig- Returns:
- the store config instance
 
- 
setStoreConfig- Parameters:
- storeConfig- The storeConfig to set.
 
- 
getStoreConfigClass- Returns:
- the main store config class name
 
- 
setStoreConfigClass- Parameters:
- storeConfigClass- The storeConfigClass to set.
 
- 
getStoreRegistry- Returns:
- the store registry
 
- 
setStoreRegistry- Parameters:
- storeRegistry- The storeRegistry to set.
 
 
-