com.buglabs.bug.program
Class Activator

java.lang.Object
  extended by com.buglabs.bug.program.Activator
All Implemented Interfaces:
RunnableWithServices

public class Activator
extends java.lang.Object
implements RunnableWithServices


Field Summary
protected static java.lang.String APP_BUNDLE_PATH
           
protected static java.lang.String APP_STATE
           
 
Constructor Summary
Activator()
           
 
Method Summary
 void allServicesAvailable(IServiceProvider serviceProvider)
          A tracker has collected all necessary services to run.
 void frameworkEvent(FrameworkEvent event)
           
 void serviceUnavailable(IServiceProvider serviceProvider, ServiceReference sr, java.lang.Object service)
          A tracker has lost a required service and needs to shutdown.
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_STATE

protected static final java.lang.String APP_STATE
See Also:
Constant Field Values

APP_BUNDLE_PATH

protected static final java.lang.String APP_BUNDLE_PATH
See Also:
Constant Field Values
Constructor Detail

Activator

public Activator()
Method Detail

start

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

stop

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

allServicesAvailable

public void allServicesAvailable(IServiceProvider serviceProvider)
Description copied from interface: RunnableWithServices
A tracker has collected all necessary services to run.

Specified by:
allServicesAvailable in interface RunnableWithServices

serviceUnavailable

public void serviceUnavailable(IServiceProvider serviceProvider,
                               ServiceReference sr,
                               java.lang.Object service)
Description copied from interface: RunnableWithServices
A tracker has lost a required service and needs to shutdown.

Specified by:
serviceUnavailable in interface RunnableWithServices

frameworkEvent

public void frameworkEvent(FrameworkEvent event)