org.apache.logging.log4j.util

Class ProviderActivator

  • 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.
    • Constructor Detail

      • ProviderActivator

        protected ProviderActivator(Provider provider)
    • Method Detail

      • 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

Copyright © 1999-2023 The 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.