|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.MBeanServerDelegate
Mandatory MBean server delegate MBean implementation.
MBeanServerDelegateMBean
Constructor Summary | |
MBeanServerDelegate()
|
Method Summary | |
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
Add a listener to an MBean. |
String |
getImplementationName()
|
String |
getImplementationVendor()
|
String |
getImplementationVersion()
|
String |
getMBeanServerId()
|
MBeanNotificationInfo[] |
getNotificationInfo()
Returns the notification metadata associated with the MBean. |
String |
getSpecificationName()
|
String |
getSpecificationVendor()
|
String |
getSpecificationVersion()
|
void |
removeNotificationListener(NotificationListener listener)
Removes a listener from an MBean. |
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
Removes a listener from the Emitter. |
void |
sendNotification(Notification notification)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MBeanServerDelegate()
Method Detail |
public String getMBeanServerId()
getMBeanServerId
in interface MBeanServerDelegateMBean
public String getSpecificationName()
getSpecificationName
in interface MBeanServerDelegateMBean
public String getSpecificationVersion()
getSpecificationVersion
in interface MBeanServerDelegateMBean
public String getSpecificationVendor()
getSpecificationVendor
in interface MBeanServerDelegateMBean
public String getImplementationName()
getImplementationName
in interface MBeanServerDelegateMBean
public String getImplementationVersion()
getImplementationVersion
in interface MBeanServerDelegateMBean
public String getImplementationVendor()
getImplementationVendor
in interface MBeanServerDelegateMBean
public MBeanNotificationInfo[] getNotificationInfo()
NotificationBroadcaster
getNotificationInfo
in interface NotificationBroadcaster
MBeanNotificationInfo
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
NotificationBroadcaster
addNotificationListener
in interface NotificationBroadcaster
listener
- implementation of the listener objectfilter
- implementation of the filter object or null
if no filtering is requiredhandback
- A handback object associated with each notification
sent by this notification broadcaster.
IllegalArgumentException
- if listener is nullpublic void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
NotificationEmitter
Only the listener, filter, handback triplet is removed
removeNotificationListener
in interface NotificationEmitter
listener
- the listener object to removefilter
- the filter registered with the listenerhandback
- the handback object associated with the registered listener
ListenerNotFoundException
- if the listener was not foundpublic void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
NotificationBroadcaster
removeNotificationListener
in interface NotificationBroadcaster
listener
- the listener object to remove
ListenerNotFoundException
- if the listener was not foundpublic void sendNotification(Notification notification)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |