net.coalevo.foundation.util
Class BundleConfiguration
java.lang.Object
net.coalevo.foundation.model.BaseIdentifiable
net.coalevo.foundation.model.BaseService
net.coalevo.foundation.util.BundleConfiguration
- All Implemented Interfaces:
- Identifiable, Service, org.osgi.service.cm.ManagedService
public class BundleConfiguration
- extends BaseService
- implements org.osgi.service.cm.ManagedService
Provides a base implementation for a unified bundle configuration.
- Version:
- 1.0.0 (10/02/2009)
- Author:
- Dieter Wimberger (wimpi)
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BundleConfiguration
public BundleConfiguration(java.lang.String identifier)
getConfigurationMediator
public ConfigurationMediator getConfigurationMediator()
- Returns the associated
ConfigurationMediator.
- Returns:
- a
ConfigurationMediator instance.
updated
public void updated(java.util.Dictionary conf)
throws org.osgi.service.cm.ConfigurationException
- Specified by:
updated in interface org.osgi.service.cm.ManagedService
- Throws:
org.osgi.service.cm.ConfigurationException
activate
public boolean activate(org.osgi.framework.BundleContext bc)
- Description copied from interface:
Service
- Activates this Service.
- Specified by:
activate in interface Service
- Returns:
- true if activated, false otherwise.
deactivate
public boolean deactivate()
- Description copied from interface:
Service
- Deactivates this Service.
- Specified by:
deactivate in interface Service
- Returns:
- tru if deactivated, false otherwise.
(c) 2004-2009 VFI (http://www.vfi.or.at)