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.BundleActivator
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public static TikaActivator getDefault()
public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
addingService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void modifiedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
modifiedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void removedService(org.osgi.framework.ServiceReference reference, java.lang.Object service)
removedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Copyright © 2021. All Rights Reserved.