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)
Acknowledge the occurrence of the specified event.
|
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)
LifecycleListener
lifecycleEvent
in interface LifecycleListener
event
- LifecycleEvent that has occurredprotected void createMBean(Server server)
protected javax.management.DynamicMBean getManagedBean(java.lang.Object object) throws java.lang.Exception
object
- java.lang.Exception
public 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-2018 Apache Software Foundation. All Rights Reserved.