|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.plugin.pc.perspective.metadata.PerspectivePluginMetadataManager
public class PerspectivePluginMetadataManager
This loads in all deployed perspective server plugins and maintains the complete set of metadata found in all plugin descriptors. Individual plugin metadata is irrelevant and not retrievable. The union of the perspective definitions is maintained and made available. Conflict resolution rules are applied as needed for clashing perspective definitions. Activators are not processed here, they use session-time information. This is performed at plugin-load-time.
| Constructor Summary | |
|---|---|
PerspectivePluginMetadataManager()
|
|
| Method Summary | |
|---|---|
long |
getLastModifiedTime()
|
List<MenuItem> |
getMenu()
Returns the full menu, with no activators applied. |
List<PageLink> |
getPageLinks()
Returns the full set of defined PageLink extensions with no activators applied. |
List<Tab> |
getResourceTabs()
Returns the full Resource tab bar, with no activators applied. |
int |
getUrlKey(String url)
Return a unique key for the url. |
String |
getUrlViaKey(int key)
Return the url for the given key. |
boolean |
isStarted()
|
void |
loadPlugin(PerspectivePluginDescriptorType descriptor)
Transforms the pluginDescriptor into domain object form and stores those objects. |
void |
start()
|
void |
stop()
|
void |
unloadPlugin(PerspectivePluginDescriptorType descriptor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerspectivePluginMetadataManager()
| Method Detail |
|---|
public void loadPlugin(PerspectivePluginDescriptorType descriptor)
descriptor - the descriptor to transformpublic void unloadPlugin(PerspectivePluginDescriptorType descriptor)
public void start()
public void stop()
public int getUrlKey(String url)
url -
public String getUrlViaKey(int key)
public List<MenuItem> getMenu()
public List<Tab> getResourceTabs()
public List<PageLink> getPageLinks()
public boolean isStarted()
public long getLastModifiedTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||