| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanServerBuilder builder = …;
MBeanServerDelegate delegate = builder.newMBeanServerDelegate();
Based on 7 examples
public class MBeanServerDelegate extends Object implements MBeanServerDelegateMBean, NotificationEmitter
Represents the MBean server from the management point of view. The MBeanServerDelegate MBean emits the MBeanServerNotifications when an MBean is registered/unregistered in the MBean server.
Field Summary | |
---|---|
static ObjectName |
DELEGATE_NAME
Defines the default ObjectName of the MBeanServerDelegate. |
Constructor Summary | |
---|---|
Create a MBeanServerDelegate object. |
Method Summary | |
---|---|
void |
addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) |
String |
Returns the JMX implementation name (the name of this product). |
String |
Returns the JMX implementation vendor (the vendor of this product). |
String |
Returns the JMX implementation version (the version of this product). |
String |
Returns the MBean server agent identity. |
MBeanNotificationInfo[] |
|
String |
Returns the full name of the JMX specification implemented by this product. |
String |
Returns the vendor of the JMX specification implemented by this product. |
String |
Returns the version of the JMX specification implemented by this product. |
void |
|
void |
removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) |
void |
sendNotification(Notification notification) 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 |
Field Detail |
---|
public static final ObjectName DELEGATE_NAME
Constructor Detail |
---|
public MBeanServerDelegate()
Method Detail |
---|
public synchronized void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
listener
filter
handback
IllegalArgumentException
public String getImplementationName()
public String getImplementationVendor()
public String getImplementationVersion()
public synchronized String getMBeanServerId()
public MBeanNotificationInfo[] getNotificationInfo()
public String getSpecificationName()
public String getSpecificationVendor()
public String getSpecificationVersion()
public synchronized void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
listener
ListenerNotFoundException
public synchronized void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
listener
filter
handback
ListenerNotFoundException
public void sendNotification(Notification notification)
notification
- The notification to send.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |