opennlp.tools.util.ext
Class OSGiExtensionLoader

java.lang.Object
  extended by 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!


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

Constructor Detail

OSGiExtensionLoader

public OSGiExtensionLoader()
Method Detail

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.