org.ungoverned.osgi.bundle.httpadmin
Class Activator

java.lang.Object
  extended byorg.ungoverned.osgi.bundle.httpadmin.Activator

public class Activator
extends java.lang.Object

The bundle activator object is responsibe for starting and stoppig an OSGi bundle. It should perform initialization and cleanup actions whenever bundle is started or stopped. This Activator registers simple Http Servler that makes possible to start/stop/update bundles using simple web interface.


Constructor Summary
Activator()
           
 
Method Summary
 void serviceChanged(ServiceEvent event)
           
 void start(BundleContext bc)
           
 void stop(BundleContext bc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

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

stop

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

serviceChanged

public void serviceChanged(ServiceEvent event)