public class StoreConfigLifecycleListener extends java.lang.Object implements LifecycleListener
Server
.Modifier and Type | Field and Description |
---|---|
protected Registry |
registry
The configuration information registry for our managed beans.
|
Constructor and Description |
---|
StoreConfigLifecycleListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
createMBean(Server server)
Create StoreConfig MBean and load StoreRegistry MBeans name is
Catalina:type=StoreConfig . |
protected javax.management.DynamicMBean |
getManagedBean(java.lang.Object object)
Create a ManagedBean (StoreConfig).
|
IStoreConfig |
getStoreConfig() |
java.lang.String |
getStoreConfigClass() |
java.lang.String |
getStoreRegistry() |
void |
lifecycleEvent(LifecycleEvent event)
Register StoreRegistry after Start the complete Server.
|
void |
setStoreConfig(IStoreConfig storeConfig) |
void |
setStoreConfigClass(java.lang.String storeConfigClass) |
void |
setStoreRegistry(java.lang.String storeRegistry) |
protected final Registry registry
public void lifecycleEvent(LifecycleEvent event)
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredLifecycleListener.lifecycleEvent(org.apache.catalina.LifecycleEvent)
protected void createMBean(Server server)
Catalina:type=StoreConfig
.server
- The Server instanceprotected javax.management.DynamicMBean getManagedBean(java.lang.Object object) throws java.lang.Exception
object
- The object to managejava.lang.Exception
- if an error occurredpublic IStoreConfig getStoreConfig()
public void setStoreConfig(IStoreConfig storeConfig)
storeConfig
- The storeConfig to set.public java.lang.String getStoreConfigClass()
public void setStoreConfigClass(java.lang.String storeConfigClass)
storeConfigClass
- The storeConfigClass to set.public java.lang.String getStoreRegistry()
public void setStoreRegistry(java.lang.String storeRegistry)
storeRegistry
- The storeRegistry to set.Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.