opennlp.tools.util.ext
Class OSGiExtensionLoader
java.lang.Object
opennlp.tools.util.ext.OSGiExtensionLoader
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class OSGiExtensionLoader
- extends Object
- implements org.osgi.framework.BundleActivator
OSGi bundle activator which can use an OSGi service as
an OpenNLP extension.
Note: Do not use this class, internal use only!
Method Summary |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
OSGiExtensionLoader
public OSGiExtensionLoader()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.