|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.management.MBeanServerDelegate
Represents the MBeanServer from the management point of view. The MBeanServerDelegate MBean emits the MBeanServerNotifications when a MBean is registered/deregistered in the MBean server.
Constructor Summary | |
MBeanServerDelegate()
Create a MBeanServerDelegate object. |
Method Summary | |
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
Enables a couple (listener,handback) for a registered MBean to be added. |
java.lang.String |
getImplementationName()
Returns the JMX implementation name (the name of this product). |
java.lang.String |
getImplementationVendor()
Returns the JMX implementation vendor (the vendor of this product) |
java.lang.String |
getImplementationVersion()
Returns the JMX implementation version (the version of this product). |
java.lang.String |
getMBeanServerId()
Get the MBeanServer agent identification. |
MBeanNotificationInfo[] |
getNotificationInfo()
Returns a NotificationInfo object contaning the name of the Java class of the notification and the notification types sent. |
java.lang.String |
getSpecificationName()
Returns the full name of the JMX specification implemented by this product. |
java.lang.String |
getSpecificationVendor()
Returns the vendor of the JMX specification implemented by this product. |
java.lang.String |
getSpecificationVersion()
Returns the version of the JMX specification implemented by this product. |
void |
removeNotificationListener(NotificationListener listener)
Enables a listener for an MBean to be removed. |
void |
sendNotification(Notification notif)
Enables the MBean server to send a 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 java.lang.String getImplementationName()
getImplementationName
in interface MBeanServerDelegateMBean
public java.lang.String getImplementationVendor()
getImplementationVendor
in interface MBeanServerDelegateMBean
public java.lang.String getImplementationVersion()
getImplementationVersion
in interface MBeanServerDelegateMBean
public java.lang.String getMBeanServerId()
getMBeanServerId
in interface MBeanServerDelegateMBean
public java.lang.String getSpecificationName()
getSpecificationName
in interface MBeanServerDelegateMBean
public java.lang.String getSpecificationVendor()
getSpecificationVendor
in interface MBeanServerDelegateMBean
public java.lang.String getSpecificationVersion()
getSpecificationVersion
in interface MBeanServerDelegateMBean
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, java.lang.Object handback) throws java.lang.IllegalArgumentException
addNotificationListener
in interface NotificationBroadcaster
filter
- The filter object. If not specified, no filtering
will be performed beforelistener
- handling notifications.handback
- The context to be sent to the listener when a
notification is emitted.java.lang.IllegalArgumentException
- - Listener parameter is null.public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationBroadcaster
listener
- The listener object which will handles notifications
emitted by the registered MBean.ListenerNotFoundException
- The listener is not registered
in the MBean.public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
public void sendNotification(Notification notif)
notif
- The notification to send.
|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |