org.neo4j.kernel.impl.osgi
Class OSGiActivator

java.lang.Object
  extended by org.neo4j.kernel.impl.osgi.OSGiActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public final class OSGiActivator
extends Object
implements org.osgi.framework.BundleActivator

This class is responsible for bootstrapping the Neo4j kernel as an OSGi component. The main responsibility is to bootstrap the OSGiExtensionLoader.

Author:
Tobias Ivarsson , Andreas Kollegger

Field Summary
static OSGiExtensionLoader osgiExtensionLoader
           
 
Constructor Summary
OSGiActivator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext bc)
          Called whenever the OSGi framework starts our bundle
 void stop(org.osgi.framework.BundleContext bc)
          Called whenever the OSGi framework stops our bundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

osgiExtensionLoader

public static volatile OSGiExtensionLoader osgiExtensionLoader
Constructor Detail

OSGiActivator

public OSGiActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Called whenever the OSGi framework starts our bundle

Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws Exception
Called whenever the OSGi framework stops our bundle

Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception


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