Method from javax.management.MBeanServerDelegate Detail: |
public synchronized void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) throws IllegalArgumentException {
broadcaster.addNotificationListener(listener,filter,handback) ;
}
|
public String getImplementationName() {
return ServiceName.JMX_IMPL_NAME;
}
Returns the JMX implementation name (the name of this product). |
public String getImplementationVendor() {
return ServiceName.JMX_IMPL_VENDOR;
}
Returns the JMX implementation vendor (the vendor of this product). |
public String getImplementationVersion() {
try {
return System.getProperty("java.runtime.version");
} catch (SecurityException e) {
return "";
}
}
Returns the JMX implementation version (the version of this product). |
public synchronized String getMBeanServerId() {
if (mbeanServerId == null) {
String localHost;
try {
localHost = java.net.InetAddress.getLocalHost().getHostName();
} catch (java.net.UnknownHostException e) {
JmxProperties.MISC_LOGGER.finest("Can't get local host name, " +
"using \"localhost\" instead. Cause is: "+e);
localHost = "localhost";
}
mbeanServerId = localHost + "_" + stamp;
}
return mbeanServerId;
}
Returns the MBean server agent identity. |
public 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 String getSpecificationName() {
return ServiceName.JMX_SPEC_NAME;
}
Returns the full name of the JMX specification implemented
by this product. |
public String getSpecificationVendor() {
return ServiceName.JMX_SPEC_VENDOR;
}
Returns the vendor of the JMX specification implemented
by this product. |
public String getSpecificationVersion() {
return ServiceName.JMX_SPEC_VERSION;
}
Returns the version of the JMX specification implemented
by this product. |
public synchronized void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException {
broadcaster.removeNotificationListener(listener) ;
}
|
public synchronized void removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) throws ListenerNotFoundException {
broadcaster.removeNotificationListener(listener,filter,handback) ;
}
|
public void sendNotification(Notification notification) {
if (notification.getSequenceNumber() < 1) {
synchronized (this) {
notification.setSequenceNumber(this.sequenceNumber++);
}
}
broadcaster.sendNotification(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. |