|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.panoptes.model.component.Component | +--net.sf.panoptes.model.component.jmx.MBeanServerComponent
MBeanServerComponent.java Wraps a JMX server connector.
Field Summary |
Fields inherited from interface net.sf.panoptes.model.node.INode |
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(ComponentRegistry componentRegistry,
java.lang.String name,
java.lang.String host,
int port)
Constructor for MBeanServerComponent. |
Method Summary | |
boolean |
acceptsChildren()
|
void |
connect()
|
INode[] |
getChildren()
|
NodeDescriptor |
getConfigDescriptor()
|
org.jboss.jmx.connector.rmi.RMIConnectorImpl |
getConnector()
|
DomainNode[] |
getDomains()
|
java.lang.String |
getHost()
Returns the host. |
java.lang.String |
getIconName()
|
java.lang.String |
getName()
Returns the name. |
int |
getPort()
Returns the port. |
org.jboss.jmx.connector.rmi.RMIConnectorImpl |
getServer()
Returns the server. |
static MBeanServerComponent[] |
listConnections()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MBeanServerComponent(ComponentRegistry componentRegistry, java.lang.String name, java.lang.String host, int port)
Method Detail |
public static MBeanServerComponent[] listConnections()
public org.jboss.jmx.connector.rmi.RMIConnectorImpl getConnector()
public void connect() throws javax.management.JMException, java.net.UnknownHostException
javax.management.JMException
java.net.UnknownHostException
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 org.jboss.jmx.connector.rmi.RMIConnectorImpl getServer()
public void refresh()
public DomainNode[] getDomains()
public INode[] getChildren()
getChildren
in interface INode
getChildren
in class Component
com.gllt.troodon.console.INode#getChildren()
public java.lang.String getIconName()
com.gllt.troodon.console.INode#getIconName()
public NodeDescriptor getConfigDescriptor()
com.gllt.troodon.console.INode#getConfigDescriptor()
public boolean acceptsChildren()
acceptsChildren
in interface INode
acceptsChildren
in class Component
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |