org.eclipse.corona.logger.log4j
Class Log4jBundleActivator

java.lang.Object
  extended by org.eclipse.corona.logger.log4j.Log4jBundleActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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


Field Summary
static org.osgi.framework.BundleContext logBundleContext
           
 
Constructor Summary
Log4jBundleActivator()
           
 
Method Summary
static Log4jBundleActivator getDefault()
          Returns the shared instance
 org.osgi.service.log.LogReaderService getLogReaderService()
           
 org.osgi.service.log.LogService getLogService()
           
 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
 

Field Detail

logBundleContext

public static org.osgi.framework.BundleContext logBundleContext
Constructor Detail

Log4jBundleActivator

public Log4jBundleActivator()
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

getLogReaderService

public org.osgi.service.log.LogReaderService getLogReaderService()

getLogService

public org.osgi.service.log.LogService getLogService()

getDefault

public static Log4jBundleActivator getDefault()
Returns the shared instance

Returns:
the shared instance

Copyright 2006 IBM Corporation and others.
All Rights Reserved.