org.ops4j.peaberry.osgi
Class Activator.ImportManager

java.lang.Object
  extended by org.ops4j.peaberry.osgi.Activator.ImportManager
All Implemented Interfaces:
Runnable
Enclosing class:
Activator

public static class Activator.ImportManager
extends Object
implements Runnable

Cleans up registered CachingServiceRegistrys at a fixed interval.


Constructor Summary
Activator.ImportManager(org.osgi.framework.BundleContext context, int interval, int generations, Iterable<CachingServiceRegistry> registries)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator.ImportManager

@Inject
public Activator.ImportManager(org.osgi.framework.BundleContext context,
                                      @Named(value="org.ops4j.peaberry.cache.interval")
                                      int interval,
                                      @Named(value="org.ops4j.peaberry.cache.generations")
                                      int generations,
                                      Iterable<CachingServiceRegistry> registries)
Method Detail

run

public final void run()
Specified by:
run in interface Runnable


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