org.apache.sling.commons.log.internal
Class Activator

java.lang.Object
  extended by org.apache.sling.commons.log.internal.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends Object
implements org.osgi.framework.BundleActivator

The Activator class is the BundleActivator for the log service bundle. This activator sets up logging in NLog4J and registers the LogService and LogReaderService. When the bundle is stopped, the NLog4J subsystem is simply shutdown.


Constructor Summary
Activator()
           
 
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
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception
See Also:
BundleActivator.start(org.osgi.framework.BundleContext)

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception
See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.