org.neo4j.kernel.impl.osgi
Class OSGiExtensionLoader
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.