Openwings API Documentation (v1.1)

net.openwings.management
Interface MBeanAdapter

All Superinterfaces:
ManagerListener

public interface MBeanAdapter
extends ManagerListener

This interface defines a plugin for an adapter that makes MBeans accessible to another management framework (such as JMX or SNMP). This interface extends ManagerListener so that the adapter can be notified of MBean additions and removals.


Method Summary
 java.net.URL getAdapterURL()
          This method is used to obtain a URL which can be used to access the adapted MBeans.
 void shutdown()
          This method is used to notify an adapter that the Manager is being shut down.
 
Methods inherited from interface net.openwings.management.ManagerListener
processMBeanAdded, processMBeanRemoved
 

Method Detail

getAdapterURL

public java.net.URL getAdapterURL()
This method is used to obtain a URL which can be used to access the adapted MBeans. An example of this would be an http:// address, which would be used to access the management framework from a web browser.

Returns:
a URL that may be used to access the adapted MBeans, or null if no URL is provided.

shutdown

public void shutdown()
This method is used to notify an adapter that the Manager is being shut down. After this method is called, any operation on the adapter is undefined.


Openwings API Documentation (v1.1)