net.sf.panoptes.module.jmx
Class JMXDiscoveryComponent

java.lang.Object
  |
  +--net.sf.panoptes.model.node.Node
        |
        +--net.sf.panoptes.model.component.Component
              |
              +--net.sf.panoptes.module.jmx.JMXDiscoveryComponent
All Implemented Interfaces:
org.jboss.mx.remote.connector.ConnectorFactory.Listener, java.util.EventListener, javax.management.NotificationListener

public class JMXDiscoveryComponent
extends Component
implements javax.management.NotificationListener, org.jboss.mx.remote.connector.ConnectorFactory.Listener

Version:
0.1
Author:
Dag Liodden

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
JMXDiscoveryComponent()
           
 
Method Summary
 void connectorCreated(javax.management.MBeanServer server, org.jboss.mx.remote.MBeanServerConnection conn)
           
 void connectorDestroyed(javax.management.MBeanServer server, org.jboss.mx.remote.MBeanServerConnection conn)
           
 NodeDescriptor getConfigDescriptor()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 void handleNotification(javax.management.Notification arg0, java.lang.Object arg1)
           
 void init()
          Called when the Component has had all it's attributes set and should be ready for initialization.
 
Methods inherited from class net.sf.panoptes.model.component.Component
acceptsChildren, getChildren, getComponentName, getComponentRegistry, getConfiguratorScripts, setComponentName, setComponentRegistry
 
Methods inherited from class net.sf.panoptes.model.node.Node
addUpdateListener, createImage, notifyListeners, removeUpdateListener, setConfigDescriptor, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXDiscoveryComponent

public JMXDiscoveryComponent()
Method Detail

init

public void init()
Description copied from class: Component
Called when the Component has had all it's attributes set and should be ready for initialization.

Specified by:
init in class Component

getConfigDescriptor

public NodeDescriptor getConfigDescriptor()
Specified by:
getConfigDescriptor in class Node

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Specified by:
getIcon in class Node
Returns:

handleNotification

public void handleNotification(javax.management.Notification arg0,
                               java.lang.Object arg1)
Specified by:
handleNotification in interface javax.management.NotificationListener

connectorCreated

public void connectorCreated(javax.management.MBeanServer server,
                             org.jboss.mx.remote.MBeanServerConnection conn)
Specified by:
connectorCreated in interface org.jboss.mx.remote.connector.ConnectorFactory.Listener

connectorDestroyed

public void connectorDestroyed(javax.management.MBeanServer server,
                               org.jboss.mx.remote.MBeanServerConnection conn)
Specified by:
connectorDestroyed in interface org.jboss.mx.remote.connector.ConnectorFactory.Listener


Copyright © 2003 . All Rights Reserved.