org.apache.logging.log4j.util
Class Activator

java.lang.Object
  extended by org.apache.logging.log4j.util.Activator
All Implemented Interfaces:
EventListener, BundleActivator, BundleListener, SynchronousBundleListener

public class Activator
extends Object
implements BundleActivator, SynchronousBundleListener

OSGi bundle activator. Used for locating an implementation of LoggerContextFactory et al. that have corresponding META-INF/log4j-provider.properties files. As with all OSGi BundleActivator classes, this class is not for public use and is only useful in an OSGi framework environment.


Constructor Summary
Activator()
           
 
Method Summary
 void bundleChanged(BundleEvent event)
           
 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 Exception
Specified by:
start in interface BundleActivator
Throws:
Exception

stop

public void stop(BundleContext context)
          throws Exception
Specified by:
stop in interface BundleActivator
Throws:
Exception

bundleChanged

public void bundleChanged(BundleEvent event)
Specified by:
bundleChanged in interface BundleListener


Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.