Class EDP2Plugin

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

    public class EDP2Plugin
    extends Plugin
    The EDP2 plugin. The plugin persists created Repositories in its meta data location and allows to access these.
    • Constructor Detail

      • EDP2Plugin

        public EDP2Plugin()
        Constructor.
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Overrides:
        start in class Plugin
        Throws:
        Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Overrides:
        stop in class Plugin
        Throws:
        Exception
      • getRepositories

        public Repositories getRepositories()
        Central method for receiving repositories.
        Returns:
        The Repositories instance containing all available repositories.