Class InitDTFJ

  • All Implemented Interfaces:
    java.util.EventListener, IRegistryChangeListener, org.osgi.framework.BundleActivator

    public class InitDTFJ
    extends Plugin
    implements IRegistryChangeListener
    Controls the loading of this plugin and finds the available DTFJ implementations.
    • Constructor Detail

      • InitDTFJ

        public InitDTFJ()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws java.lang.Exception
        Start the bundle - find DTFJ implementations and convert to parsers. Register listener for new DTFJ implementations.
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Overrides:
        start in class Plugin
        Throws:
        java.lang.Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws java.lang.Exception
        Stop the bundle, deregister parsers associated with DTFJ. Deregister listener for new DTFJ implementations.
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Overrides:
        stop in class Plugin
        Throws:
        java.lang.Exception
      • getPreferenceStore

        public java.lang.Object getPreferenceStore()