public final class Activator extends Object implements org.osgi.framework.BundleActivator
The log service provides a general purpose message logger for the OSGi service platform. It consists of two services, one for logging information and another for retrieving current or previously recorded log information.
The service knows about the following properties which are read at bundle startup:
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
void |
start(org.osgi.framework.BundleContext context)
Called by the OSGi framework when the bundle is started.
|
void |
stop(org.osgi.framework.BundleContext context)
Called by the OSGi framework when the bundle is stopped.
|
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
context
- the bundle contextException
- if an error occursCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.