Class ConsolePluginService

java.lang.Object
org.glassfish.admingui.plugin.ConsolePluginService

@Service public class ConsolePluginService extends Object

This class provides access to IntegrationPoints.

Author:
Ken Paulsen (ken.paulsen@sun.com)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addIntegrationPoint(org.glassfish.admingui.connector.IntegrationPoint point, String id)
    This method allows a new IntegrationPoint to be added to the known IntegrationPoints.
    void
    addIntegrationPoints(List<org.glassfish.admingui.connector.IntegrationPoint> points, String id)
    This method allows new IntegrationPoints to be added to the known IntegrationPoints.
    org.glassfish.admingui.connector.Index
    This method returns a merged Table Of Contents for all found help sets for the given locale.
    org.glassfish.admingui.connector.TOC
    This method returns a merged Table Of Contents for all found help sets for the given locale.
    List<org.glassfish.admingui.connector.IntegrationPoint>
    This method returns the IntegrationPoints associated with the given type.
    This method returns the ClassLoader associated with the requested module.
    This method searches the classpath of all plugins for the requested resource and returns all instances of it (if any).
    protected void
    Initialize the available IntegrationPoints.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConsolePluginService

      public ConsolePluginService()
      Default constructor.
  • Method Details

    • init

      protected void init()
      Initialize the available IntegrationPoints.
    • getHelpTOC

      public org.glassfish.admingui.connector.TOC getHelpTOC(String locale)
      This method returns a merged Table Of Contents for all found help sets for the given locale.
    • getHelpIndex

      public org.glassfish.admingui.connector.Index getHelpIndex(String locale)
      This method returns a merged Table Of Contents for all found help sets for the given locale.
    • getResources

      public Map<String,List<URL>> getResources(String name)

      This method searches the classpath of all plugins for the requested resource and returns all instances of it (if any). This method will NOT return null, but may return an empty List.

    • addIntegrationPoints

      public void addIntegrationPoints(List<org.glassfish.admingui.connector.IntegrationPoint> points, String id)
      This method allows new IntegrationPoints to be added to the known IntegrationPoints.
    • addIntegrationPoint

      public void addIntegrationPoint(org.glassfish.admingui.connector.IntegrationPoint point, String id)
      This method allows a new IntegrationPoint to be added to the known IntegrationPoints.
    • getIntegrationPoints

      public List<org.glassfish.admingui.connector.IntegrationPoint> getIntegrationPoints(String type)

      This method returns the IntegrationPoints associated with the given type.

      Parameters:
      type - The type of IntegrationPoints to retrieve.
    • getModuleClassLoader

      public ClassLoader getModuleClassLoader(String moduleName)

      This method returns the ClassLoader associated with the requested module. If the requested module does not exist, has not been initialized, or does not contain any admin console extensions, this method will return null.

      Parameters:
      moduleName - The name of the module.
      Returns:
      null, or the module's ClassLoader.