Package org.apache.logging.log4j.util
Class Activator
- java.lang.Object
-
- org.apache.logging.log4j.util.Activator
-
- All Implemented Interfaces:
java.util.EventListener,org.osgi.framework.BundleActivator,org.osgi.framework.BundleListener,org.osgi.framework.SynchronousBundleListener
public class Activator extends java.lang.Object implements org.osgi.framework.BundleActivator, org.osgi.framework.SynchronousBundleListenerConsider this class private. OSGi bundle activator. Used for locating an implementation ofLoggerContextFactoryet al. that have correspondingMETA-INF/log4j-provider.propertiesfiles. As with all OSGi BundleActivator classes, this class is not for public use and is only useful in an OSGi framework environment.
-
-
Constructor Summary
Constructors Constructor Description Activator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbundleChanged(org.osgi.framework.BundleEvent event)voidstart(org.osgi.framework.BundleContext bundleContext)voidstop(org.osgi.framework.BundleContext bundleContext)
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
java.lang.Exception
-
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChangedin interfaceorg.osgi.framework.BundleListener
-
-