Class GrouperPluginManager

java.lang.Object
edu.internet2.middleware.grouper.plugins.GrouperPluginManager

public class GrouperPluginManager extends Object
manage felix osgi plugins
  • Constructor Details

    • GrouperPluginManager

      public GrouperPluginManager()
  • Method Details

    • retrievePluginImplementation

      public static <T> T retrievePluginImplementation(String moduleJarNameInput, Class<T> theInterface)
      get the implementation of an interface from a plugin
      Type Parameters:
      T -
      Parameters:
      moduleJarNameInput -
      theInterface -
      Returns:
      the instance of that plugin class
    • retrievePluginImplementation

      public static <T> T retrievePluginImplementation(String moduleJarNameInput, Class<T> theInterface, String pluginClassName)
      get the implementation of an interface from a plugin
      Type Parameters:
      T -
      Parameters:
      moduleJarNameInput -
      theInterface -
      pluginClassName - or null to use the only one listed (if multiple throw error)
      Returns:
      the instance of that plugin class
    • shutdownIfStarted

      public static void shutdownIfStarted()
      not sure where this would be called from, but heres the method