com.buglabs.osgi.http
Class Activator

java.lang.Object
  extended by com.buglabs.osgi.http.Activator

public class Activator
extends java.lang.Object


Constructor Summary
Activator()
           
 
Method Summary
static LogService getLogService(BundleContext context)
          This method taken from com.buglabs.common.
 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
 

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

getLogService

public static LogService getLogService(BundleContext context)
This method taken from com.buglabs.common. Copied because adding the bundle dependency would require many build-time changes.

Parameters:
context - if context is null, it will return a log service that uses stdout.
Returns:
Either the first LogService available in the runtime if available or a SysoutLogService.