class ConfigurationAdminManager
extends java.lang.Object
implements org.springframework.beans.factory.DisposableBean
ConfigurationAdmin,
ManagedService| Modifier and Type | Class and Description |
|---|---|
private class |
ConfigurationAdminManager.ConfigurationWatcher
Configuration Admin whiteboard 'listener'.
|
| Modifier and Type | Field and Description |
|---|---|
private ManagedServiceBeanManager |
beanManager |
private org.osgi.framework.BundleContext |
bundleContext |
private boolean |
initialized |
private static org.apache.commons.logging.Log |
log
logger
|
private java.lang.Object |
monitor |
private java.lang.String |
pid |
private java.util.Map |
properties |
private org.osgi.framework.ServiceRegistration |
registration |
| Constructor and Description |
|---|
ConfigurationAdminManager(java.lang.String pid,
org.osgi.framework.BundleContext bundleContext)
Constructs a new
ConfigurationAdminManager instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
java.util.Map |
getConfiguration()
Returns the configuration 'monitored' by this managed.
|
private void |
initialize()
Initializes the conversation with the configuration admin.
|
private void |
initProperties() |
void |
setBeanManager(ManagedServiceBeanManager beanManager) |
private static final org.apache.commons.logging.Log log
private final org.osgi.framework.BundleContext bundleContext
private final java.lang.String pid
private java.util.Map properties
private boolean initialized
private ManagedServiceBeanManager beanManager
private final java.lang.Object monitor
private org.osgi.framework.ServiceRegistration registration
public ConfigurationAdminManager(java.lang.String pid,
org.osgi.framework.BundleContext bundleContext)
ConfigurationAdminManager instance.public void setBeanManager(ManagedServiceBeanManager beanManager)
public java.util.Map getConfiguration()
private void initialize()
private void initProperties()
public void destroy()
destroy in interface org.springframework.beans.factory.DisposableBean