public class TikaActivator
extends java.lang.Object
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(ServiceReference reference) |
void |
modifiedService(ServiceReference reference,
java.lang.Object service) |
void |
removedService(ServiceReference reference,
java.lang.Object service) |
void |
start(BundleContext context) |
void |
stop(BundleContext context) |
public void start(BundleContext context) throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context) throws java.lang.Exception
java.lang.Exception
public java.lang.Object addingService(ServiceReference reference)
public void modifiedService(ServiceReference reference, java.lang.Object service)
public void removedService(ServiceReference reference, java.lang.Object service)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"