Methods Summary |
---|
public synchronized void | addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
broadcaster.addNotificationListener(listener,filter,handback) ;
|
public java.lang.String | getImplementationName()Returns the JMX implementation name (the name of this product).
return ServiceName.JMX_IMPL_NAME;
|
public java.lang.String | getImplementationVendor()Returns the JMX implementation vendor (the vendor of this product).
return ServiceName.JMX_IMPL_VENDOR;
|
public java.lang.String | getImplementationVersion()Returns the JMX implementation version (the version of this product).
return ServiceName.JMX_IMPL_VERSION;
|
public synchronized java.lang.String | getMBeanServerId()Returns the MBean server agent identity.
if (mbeanServerId == null) {
String localHost;
try {
localHost = java.net.InetAddress.getLocalHost().getHostName();
} catch (java.net.UnknownHostException e) {
localHost = "localhost";
}
mbeanServerId = new String(localHost + "_" + stamp);
}
return mbeanServerId;
|
public javax.management.MBeanNotificationInfo[] | getNotificationInfo()
final int len = MBeanServerDelegate.notifsInfo.length;
final MBeanNotificationInfo[] infos =
new MBeanNotificationInfo[len];
System.arraycopy(MBeanServerDelegate.notifsInfo,0,infos,0,len);
return infos;
|
public java.lang.String | getSpecificationName()Returns the full name of the JMX specification implemented
by this product.
return ServiceName.JMX_SPEC_NAME;
|
public java.lang.String | getSpecificationVendor()Returns the vendor of the JMX specification implemented
by this product.
return ServiceName.JMX_SPEC_VENDOR;
|
public java.lang.String | getSpecificationVersion()Returns the version of the JMX specification implemented
by this product.
return ServiceName.JMX_SPEC_VERSION;
|
private static synchronized long | getStamp()
long s = System.currentTimeMillis();
if (oldStamp >= s) {
s = oldStamp + 1;
}
oldStamp = s;
return s;
|
public synchronized void | removeNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
broadcaster.removeNotificationListener(listener,filter,handback) ;
|
public synchronized void | removeNotificationListener(javax.management.NotificationListener listener)
broadcaster.removeNotificationListener(listener) ;
|
public void | sendNotification(javax.management.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.
if (notification.getSequenceNumber() < 1) {
synchronized (this) {
notification.setSequenceNumber(this.sequenceNumber++);
}
}
broadcaster.sendNotification(notification);
|