This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.management
class MBeanServerDelegate

java.lang.Object extended by javax.management.MBeanServerDelegate
All Implemented Interfaces:
MBeanServerDelegateMBean, NotificationEmitter

Most common way to construct:

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

          
 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

          
 void

          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

DELEGATE_NAME

public static final ObjectName DELEGATE_NAME
Defines the default ObjectName of the MBeanServerDelegate.
Constructor Detail

MBeanServerDelegate

public MBeanServerDelegate()
Create a MBeanServerDelegate object.

Method Detail

addNotificationListener

public synchronized void addNotificationListener(NotificationListener listener,
                                                 NotificationFilter filter,
                                                 Object handback)
                                          throws IllegalArgumentException
Parameters:
listener
filter
handback
Throws:
IllegalArgumentException

getImplementationName

public String getImplementationName()
Returns the JMX implementation name (the name of this product).

Returns:
the implementation name.

getImplementationVendor

public String getImplementationVendor()
Returns the JMX implementation vendor (the vendor of this product).

Returns:
the implementation vendor.

getImplementationVersion

public String getImplementationVersion()
Returns the JMX implementation version (the version of this product).

Returns:
the implementation version.

getMBeanServerId

public synchronized String getMBeanServerId()
Returns the MBean server agent identity.

Returns:
the identity.

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()

getSpecificationName

public String getSpecificationName()
Returns the full name of the JMX specification implemented by this product.

Returns:
the specification name.

getSpecificationVendor

public String getSpecificationVendor()
Returns the vendor of the JMX specification implemented by this product.

Returns:
the specification vendor.

getSpecificationVersion

public String getSpecificationVersion()
Returns the version of the JMX specification implemented by this product.

Returns:
the specification version.

removeNotificationListener

public synchronized void removeNotificationListener(NotificationListener listener)
                                             throws ListenerNotFoundException
Parameters:
listener
Throws:
ListenerNotFoundException

removeNotificationListener

public synchronized void removeNotificationListener(NotificationListener listener,
                                                    NotificationFilter filter,
                                                    Object handback)
                                             throws ListenerNotFoundException
Parameters:
listener
filter
handback
Throws:
ListenerNotFoundException

sendNotification

public void sendNotification(Notification notification)
Enables the MBean server to send a notification. If the passed notification has a sequence number lesser or equal to 0, then replace it with the delegate's own sequence number.

Parameters:
notification - The notification to send.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.