org.neo4j.kernel.impl.osgi
Class OSGiExtensionLoader

java.lang.Object
  extended by org.neo4j.kernel.impl.osgi.OSGiExtensionLoader
All Implemented Interfaces:
EventListener, org.osgi.framework.BundleListener

public class OSGiExtensionLoader
extends Object
implements org.osgi.framework.BundleListener

An OSGi-friendly extension loader, the OSGiExtensionLoader uses normal OSGi service discovery to find published services. For Bundles that aren't OSGi-prepared Bundles (but rather plain old jar files) this extension loader will read the META-INF/services specifications and publish those services through the OSGi service discovery.


Method Summary
 void bundleChanged(org.osgi.framework.BundleEvent event)
           
<T> Iterable<T>
loadExtensionsOfType(Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadExtensionsOfType

public <T> Iterable<T> loadExtensionsOfType(Class<T> type)

bundleChanged

public void bundleChanged(org.osgi.framework.BundleEvent event)
Specified by:
bundleChanged in interface org.osgi.framework.BundleListener


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.