org.eclipse.corona.logger.log4j
Class Log4jBundleActivator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logBundleContext
public static org.osgi.framework.BundleContext logBundleContext
Log4jBundleActivator
public Log4jBundleActivator()
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