public class TikaActivator
extends java.lang.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 |
|---|---|
java.lang.Object |
addingService(org.osgi.framework.ServiceReference reference) |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service) |
void |
removedService(org.osgi.framework.ServiceReference reference,
java.lang.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 java.lang.Exception
start in interface org.osgi.framework.BundleActivatorjava.lang.Exceptionpublic void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorjava.lang.Exceptionpublic java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void modifiedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service)
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void removedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerCopyright © 2010 - 2023 Adobe. All Rights Reserved