|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.admingui.plugin.ConsolePluginService
@Service public class ConsolePluginService
This class provides access to IntegrationPoints.
| Constructor Summary | |
|---|---|
ConsolePluginService()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addIntegrationPoint(IntegrationPoint point,
String id)
This method allows a new IntegrationPoint to be added to
the known IntegrationPoints. |
void |
addIntegrationPoints(List<IntegrationPoint> points,
String id)
This method allows new IntegrationPoints to be added to
the known IntegrationPoints. |
Index |
getHelpIndex(String locale)
This method returns a merged Table Of Contents for all found help sets for the given locale. |
TOC |
getHelpTOC(String locale)
This method returns a merged Table Of Contents for all found help sets for the given locale. |
List<IntegrationPoint> |
getIntegrationPoints(String type)
This method returns the IntegrationPoints associated with
the given type. |
ClassLoader |
getModuleClassLoader(String moduleName)
This method returns the ClassLoader associated with
the requested module. |
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). |
protected void |
init()
Initialize the available IntegrationPoints. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsolePluginService()
Default constructor.
| Method Detail |
|---|
protected void init()
Initialize the available IntegrationPoints.
public TOC getHelpTOC(String locale)
This method returns a merged Table Of Contents for all found help sets for the given locale.
public Index getHelpIndex(String locale)
This method returns a merged Table Of Contents for all found help sets for the given locale.
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.
public void addIntegrationPoints(List<IntegrationPoint> points,
String id)
This method allows new IntegrationPoints to be added to
the known IntegrationPoints.
public void addIntegrationPoint(IntegrationPoint point,
String id)
This method allows a new IntegrationPoint to be added to
the known IntegrationPoints.
public List<IntegrationPoint> getIntegrationPoints(String type)
This method returns the IntegrationPoints associated with
the given type.
type - The type of IntegrationPoints to retrieve.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.
moduleName - The name of the module.
null, or the module's ClassLoader.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||