- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public abstract class ProviderActivator
extends Object
implements org.osgi.framework.BundleActivator
Utility class to register Log4j2 providers in an OSGI environment.
- Since:
- 2.19.0
-
-
Constructor Summary
Constructors
-
Method Summary
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 Details
-
API_VERSION
public static final String API_VERSION
- See Also:
-
-
Constructor Details
-
ProviderActivator
protected ProviderActivator(Provider provider)
-
Method Details
-
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
-
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception