Class ConsolePluginService
This class provides access to IntegrationPoints.
- Author:
- Ken Paulsen (ken.paulsen@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIntegrationPoint(org.glassfish.admingui.connector.IntegrationPoint point, String id) This method allows a newIntegrationPointto be added to the knownIntegrationPoints.voidaddIntegrationPoints(List<org.glassfish.admingui.connector.IntegrationPoint> points, String id) This method allows newIntegrationPoints to be added to the knownIntegrationPoints.org.glassfish.admingui.connector.IndexgetHelpIndex(String locale) This method returns a merged Table Of Contents for all found help sets for the given locale.org.glassfish.admingui.connector.TOCgetHelpTOC(String locale) This method returns a merged Table Of Contents for all found help sets for the given locale.List<org.glassfish.admingui.connector.IntegrationPoint>getIntegrationPoints(String type) This method returns theIntegrationPoints associated with the given type.getModuleClassLoader(String moduleName) This method returns theClassLoaderassociated with the requested module.getResources(String name) This method searches the classpath of all plugins for the requested resource and returns all instances of it (if any).protected voidinit()Initialize the availableIntegrationPoints.
-
Constructor Details
-
ConsolePluginService
public ConsolePluginService()Default constructor.
-
-
Method Details
-
init
protected void init()Initialize the available
IntegrationPoints. -
getHelpTOC
This method returns a merged Table Of Contents for all found help sets for the given locale.
-
getHelpIndex
This method returns a merged Table Of Contents for all found help sets for the given locale.
-
getResources
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 emptyList. -
addIntegrationPoints
public void addIntegrationPoints(List<org.glassfish.admingui.connector.IntegrationPoint> points, String id) This method allows new
IntegrationPoints to be added to the knownIntegrationPoints. -
addIntegrationPoint
This method allows a new
IntegrationPointto be added to the knownIntegrationPoints. -
getIntegrationPoints
This method returns the
IntegrationPoints associated with the given type.- Parameters:
type- The type ofIntegrationPoints to retrieve.
-
getModuleClassLoader
This method returns the
ClassLoaderassociated 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 returnnull.- Parameters:
moduleName- The name of the module.- Returns:
null, or the module'sClassLoader.
-