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