Package org.apache.tika.config
Class TikaActivator
- java.lang.Object
-
- org.apache.tika.config.TikaActivator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator,org.osgi.util.tracker.ServiceTrackerCustomizer
public class TikaActivator extends java.lang.Object implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizerBundle activator that adjust the class loading mechanism of theServiceLoaderclass 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.
- Since:
- Apache Tika 0.9
-
-
Constructor Summary
Constructors Constructor Description TikaActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectaddingService(org.osgi.framework.ServiceReference reference)voidmodifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)voidremovedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)voidstart(org.osgi.framework.BundleContext context)voidstop(org.osgi.framework.BundleContext context)
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
java.lang.Exception
-
addingService
public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
- Specified by:
addingServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer
-
modifiedService
public void modifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)- Specified by:
modifiedServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer
-
removedService
public void removedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)- Specified by:
removedServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer
-
-