org.apache.tuscany.sca.osgi.runtime
Class OSGiBundleActivator

java.lang.Object
  extended by org.apache.tuscany.sca.osgi.runtime.OSGiBundleActivator

public class OSGiBundleActivator
extends java.lang.Object

OSGi bundle activator, which is run when Tuscany is run inside an OSGi runtime.


Constructor Summary
OSGiBundleActivator()
           
 
Method Summary
 void bundleChanged(BundleEvent event)
          Handle bundle install/uninstall events
 void start(BundleContext bundleContext)
           
 void stop(BundleContext bundleContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiBundleActivator

public OSGiBundleActivator()
Method Detail

start

public void start(BundleContext bundleContext)
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop(BundleContext bundleContext)
          throws java.lang.Exception
Throws:
java.lang.Exception

bundleChanged

public void bundleChanged(BundleEvent event)
Handle bundle install/uninstall events