|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.panoptes.model.node.Node | +--net.sf.panoptes.model.component.Component | +--net.sf.panoptes.model.component.ComponentQuery | +--net.sf.panoptes.module.jmx.MBeanServerComponent
MBeanServerComponent.java Wraps a JMX server connector.
Field Summary |
Fields inherited from class net.sf.panoptes.model.node.Node |
ICON_BROKEN_LINK, ICON_CONNECTION, ICON_CONNECTIONS_FOLDER, ICON_DATASOURCE, ICON_DOMAIN, ICON_ERROR, ICON_FOLDER, ICON_INFO, ICON_LOG, ICON_LOG_FOLDER, ICON_MBEAN, ICON_QUERY_FOLDER, ICON_SERVER, ICON_SERVICE, ICON_SESSION, ICON_USER, ICON_WARNING |
Constructor Summary | |
MBeanServerComponent()
Constructor for MBeanServerComponent. |
Method Summary | |
boolean |
acceptsChildren()
|
void |
connect()
|
NodeDescriptor |
getConfigDescriptor()
|
javax.management.MBeanServerConnection |
getConnector()
|
java.lang.String |
getHost()
Returns the host. |
org.eclipse.swt.graphics.Image |
getIcon()
|
java.lang.String |
getName()
Returns the name. |
int |
getPort()
Returns the port. |
javax.management.MBeanServerConnection |
getServer()
Returns the server. |
void |
init()
Called when the Component has had all it's attributes set and should be ready for initialization. |
java.lang.Object |
invoke(javax.management.ObjectName objectName,
java.lang.String operation,
java.lang.Object[] params,
java.lang.String[] paramClasses)
|
void |
refresh()
|
void |
setHost(java.lang.String host)
Sets the host. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setPort(int port)
Sets the port. |
protected void |
setServer(javax.management.MBeanServerConnection connection)
|
Methods inherited from class net.sf.panoptes.model.component.ComponentQuery |
getChildren, getConfiguratorScripts, getId, getQuery, setConfigDescriptor, setIcon, setQuery |
Methods inherited from class net.sf.panoptes.model.component.Component |
getComponentName, getComponentRegistry, setComponentName, setComponentRegistry |
Methods inherited from class net.sf.panoptes.model.node.Node |
addUpdateListener, createImage, notifyListeners, removeUpdateListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MBeanServerComponent()
Method Detail |
public void init()
Component
init
in class ComponentQuery
public javax.management.MBeanServerConnection getConnector()
public void connect() throws javax.management.JMException, java.net.UnknownHostException
javax.management.JMException
java.net.UnknownHostException
protected void setServer(javax.management.MBeanServerConnection connection)
public java.lang.String getHost()
public java.lang.String getName()
public int getPort()
public void setHost(java.lang.String host)
host
- The host to setpublic void setName(java.lang.String name)
name
- The name to setpublic void setPort(int port)
port
- The port to setpublic javax.management.MBeanServerConnection getServer()
public void refresh()
public org.eclipse.swt.graphics.Image getIcon()
getIcon
in class ComponentQuery
com.gllt.troodon.console.Node#getIconName()
public NodeDescriptor getConfigDescriptor()
getConfigDescriptor
in class ComponentQuery
com.gllt.troodon.console.Node#getConfigDescriptor()
public boolean acceptsChildren()
acceptsChildren
in class ComponentQuery
public java.lang.Object invoke(javax.management.ObjectName objectName, java.lang.String operation, java.lang.Object[] params, java.lang.String[] paramClasses) throws javax.management.InstanceNotFoundException, javax.management.MBeanException, javax.management.ReflectionException, java.io.IOException
javax.management.InstanceNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |