com.buglabs.bug.module
Class Activator

java.lang.Object
  extended by com.buglabs.bug.module.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator


Constructor Summary
Activator()
           
 
Method Summary
static void clearModule(int index)
           
static com.buglabs.module.IModuleControl getModule(int index)
          Get access to the map of currently active modules.
static void setModule(com.buglabs.module.IModuleControl control)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
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(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

getModule

public static com.buglabs.module.IModuleControl getModule(int index)
Get access to the map of currently active modules.

Returns:

setModule

public static void setModule(com.buglabs.module.IModuleControl control)

clearModule

public static void clearModule(int index)