public class TikaActivator
extends java.lang.Object
implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
PLUGIN_ID  | 
| Constructor and Description | 
|---|
TikaActivator()
The constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
addingService(org.osgi.framework.ServiceReference reference)  | 
static TikaActivator | 
getDefault()
Returns the shared instance 
 | 
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 static final java.lang.String PLUGIN_ID
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 static TikaActivator getDefault()
public 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 © 2023. All Rights Reserved.