org.ops4j.pax.coin.service.internal.target
Class ManagedServiceTracker

java.lang.Object
  extended by org.ops4j.pax.coin.service.internal.target.ManagedServiceTracker

public class ManagedServiceTracker
extends Object

Tracks ManagedServices in OSGi Service Registry.

Since:
0.3.0, February 22, 2008
Author:
Alin Dreghiciu

Constructor Summary
ManagedServiceTracker(org.osgi.framework.BundleContext bundleContext, ConfigTargetRepository repository, Executor executor, ConfigPluginRepository pluginRepository)
          Constructor.
 
Method Summary
 void start()
          Starts tracking.
 void stop()
          Stops tracking.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedServiceTracker

public ManagedServiceTracker(org.osgi.framework.BundleContext bundleContext,
                             ConfigTargetRepository repository,
                             Executor executor,
                             ConfigPluginRepository pluginRepository)
Constructor.

Parameters:
bundleContext - bundle context
repository - managed service repository
executor - executor for running updates / deletes against configuration targets
pluginRepository - configuration plugins repository
Throws:
org.ops4j.lang.NullArgumentException - - If bundle context is null - If repository is null - If executor is null
Method Detail

start

public void start()
Starts tracking.


stop

public void stop()
Stops tracking.



Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.