public class StoreConfigLifecycleListener extends 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 StoreRgistry MBeans name is
Catalina:type=StoreConfig
|
protected DynamicMBean |
getManagedBean(Object object)
Create a ManagedBean (StoreConfig)
|
IStoreConfig |
getStoreConfig() |
String |
getStoreConfigClass() |
String |
getStoreRegistry() |
void |
lifecycleEvent(LifecycleEvent event)
Acknowledge the occurrence of the specified event.
|
void |
setStoreConfig(IStoreConfig storeConfig) |
void |
setStoreConfigClass(String storeConfigClass) |
void |
setStoreRegistry(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 DynamicMBean getManagedBean(Object object) throws Exception
object
- Exception
public IStoreConfig getStoreConfig()
public void setStoreConfig(IStoreConfig storeConfig)
storeConfig
- The storeConfig to set.public String getStoreConfigClass()
public void setStoreConfigClass(String storeConfigClass)
storeConfigClass
- The storeConfigClass to set.public String getStoreRegistry()
public void setStoreRegistry(String storeRegistry)
storeRegistry
- The storeRegistry to set.Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.