Class OSGiExtensionLoader

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class OSGiExtensionLoader
    extends java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 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