org.apache.tika.config
Class TikaActivator

java.lang.Object
  extended by org.apache.tika.config.TikaActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class TikaActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator

Bundle activator that adjust the class loading mechanism of the 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.

Since:
Apache Tika 0.9

Constructor Summary
TikaActivator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TikaActivator

public TikaActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
java.lang.Exception


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.