org.ops4j.pax.coin.service.internal.plugin
Class ConfigPluginTracker
java.lang.Object
org.ops4j.pax.coin.repository.AbstractTracker<ConfigPlugin,org.osgi.service.cm.ConfigurationPlugin>
org.ops4j.pax.coin.service.internal.plugin.ConfigPluginTracker
public class ConfigPluginTracker
- extends AbstractTracker<ConfigPlugin,org.osgi.service.cm.ConfigurationPlugin>
Tracks configuration plugins in OSGi Service Registry.
- Since:
- 0.3.0, March 09, 2008
- Author:
- Alin Dreghiciu
Method Summary |
protected ConfigPlugin |
create(org.osgi.framework.ServiceReference reference,
Object service)
Creates a configuration plugin out of an OSGi configuration plugin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigPluginTracker
public ConfigPluginTracker(org.osgi.framework.BundleContext bundleContext,
ConfigPluginRepository repository)
- Constructor.
- Parameters:
bundleContext
- bundle contextrepository
- configuration provider repository
- Throws:
org.ops4j.lang.NullArgumentException
- - If bundle context is null
- If repository is null
create
protected ConfigPlugin create(org.osgi.framework.ServiceReference reference,
Object service)
- Creates a configuration plugin out of an OSGi configuration plugin.
- Overrides:
create
in class AbstractTracker<ConfigPlugin,org.osgi.service.cm.ConfigurationPlugin>
- Parameters:
reference
- service refrence of the tracked serviceservice
- tracked service
- Returns:
- created object
- See Also:
AbstractTracker.create(ServiceReference, Object)
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.