|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.console.manager.PluginManager
Field Summary | |
protected ManageableResource (src) |
bootstrapResource
|
protected java.util.HashMap |
currentTrees
|
protected boolean |
enableShutdown
|
java.lang.String |
jndiName
|
protected java.lang.String |
mainLinkUrl
|
protected java.lang.String |
mainLogoUrl
|
static java.lang.String |
PLUGIN_MANAGER_NAME
|
protected java.util.ArrayList |
plugins
|
protected long |
treeVersion
|
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
PluginManager()
|
Method Summary | |
protected void |
bindProxyInJndi()
|
void |
createService()
Sub-classes should override this method to provide custum 'create' logic. |
protected java.util.HashSet |
findSubResources(TreeNode (src) tree)
|
ManageableResource (src) |
getBootstrapResource()
|
java.lang.String |
getJndiName()
|
java.lang.String |
getMainLinkUrl()
|
java.lang.String |
getMainLogoUrl()
|
MBeanServer (src) |
getMBeanServer()
|
protected java.util.ArrayList |
getPluginsSubsetForProfile(java.lang.String profile)
|
TreeInfo (src) |
getTreeForProfile(java.lang.String profile)
|
protected java.util.Iterator |
getTreesForResource(ManageableResource (src) res,
java.lang.String profile,
java.util.ArrayList pluginsSubset)
|
TreeInfo (src) |
getUpdateTreeForProfile(java.lang.String profile,
long knownVersion)
Only return the tree if the actual version is bigger than the known version |
void |
handleNotification(Notification (src) notif,
java.lang.Object handback)
Callback method from the broadcaster MBean this listener implementation is registered to. |
protected void |
initNotificationReception()
|
boolean |
isEnableShutdown()
|
void |
regenerateAdminTree()
|
void |
regenerateAdminTreeForProfile(java.lang.String profile)
|
void |
registerPlugin(ConsolePlugin (src) plugin)
send a message |
void |
registerPlugin(java.lang.String consolePluginClassName)
send a message |
void |
setEnableShutdown(boolean enableShutdown)
|
void |
setJndiName(java.lang.String jndiName)
|
void |
setMainLinkUrl(java.lang.String mainLinkUrl)
|
void |
setMainLogoUrl(java.lang.String mainLogoUrl)
|
void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
void |
unregisterPlugin(ConsolePlugin (src) plugin)
send a message |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String PLUGIN_MANAGER_NAME
protected java.util.ArrayList plugins
protected ManageableResource (src) bootstrapResource
public java.lang.String jndiName
protected long treeVersion
protected java.util.HashMap currentTrees
protected java.lang.String mainLogoUrl
protected java.lang.String mainLinkUrl
protected boolean enableShutdown
Constructor Detail |
public PluginManager()
Method Detail |
public void createService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
createService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void stopService()
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
public void registerPlugin(java.lang.String consolePluginClassName) throws java.lang.Exception
java.lang.Exception
public void registerPlugin(ConsolePlugin (src) plugin)
public void unregisterPlugin(ConsolePlugin (src) plugin)
public void regenerateAdminTree()
public void regenerateAdminTreeForProfile(java.lang.String profile)
public TreeInfo (src) getTreeForProfile(java.lang.String profile)
public TreeInfo (src) getUpdateTreeForProfile(java.lang.String profile, long knownVersion)
public MBeanServer (src) getMBeanServer()
public ManageableResource (src) getBootstrapResource()
public java.lang.String getJndiName()
public void setJndiName(java.lang.String jndiName)
public boolean isEnableShutdown()
public void setEnableShutdown(boolean enableShutdown)
public java.lang.String getMainLinkUrl()
public void setMainLinkUrl(java.lang.String mainLinkUrl)
public java.lang.String getMainLogoUrl()
public void setMainLogoUrl(java.lang.String mainLogoUrl)
public void handleNotification(Notification (src) notif, java.lang.Object handback)
NotificationListener (src)
handleNotification
in interface NotificationListener (src)
notif
- the notification objecthandback
- the handback object given to the broadcaster
upon listener registrationprotected java.util.Iterator getTreesForResource(ManageableResource (src) res, java.lang.String profile, java.util.ArrayList pluginsSubset)
protected java.util.ArrayList getPluginsSubsetForProfile(java.lang.String profile)
protected java.util.HashSet findSubResources(TreeNode (src) tree)
protected void bindProxyInJndi() throws java.lang.Exception
java.lang.Exception
protected void initNotificationReception() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |