public class TikaActivator extends Object implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer
ServiceLoader
class to work correctly in an OSGi environment.
Note that you should not access this class directly. Instead the OSGi environment (if present) will automatically invoke the methods of this class based on the Bundle-Activator setting in the bundle manifest.
Constructor and Description |
---|
TikaActivator() |
Modifier and Type | Method and Description |
---|---|
Object |
addingService(org.osgi.framework.ServiceReference reference) |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
removedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public Object addingService(org.osgi.framework.ServiceReference reference)
addingService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void modifiedService(org.osgi.framework.ServiceReference reference, Object service)
modifiedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void removedService(org.osgi.framework.ServiceReference reference, Object service)
removedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.