Public Member Functions | |
void | addNotificationListener (NotificationListener listener, NotificationFilter filter, Object handback) |
MBeanNotificationInfo[] | getNotificationInfo () |
void | removeNotificationListener (NotificationListener listener) throws ListenerNotFoundException |
void | removeNotificationListener (NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException |
void | sendNotification (Notification notification) |
AbstractStandardMBean (Class mbeanInterface) throws NotCompliantMBeanException | |
abstract String | getAssociatedString () |
Protected Member Functions | |
String | getDescription (MBeanInfo info) |
String | getDescription (MBeanConstructorInfo ctor) |
String | getParameterName (MBeanConstructorInfo ctor, MBeanParameterInfo param, int sequence) |
String | getDescription (MBeanConstructorInfo ctor, MBeanParameterInfo param, int sequence) |
String | getDescription (MBeanAttributeInfo info) |
String | getDescription (MBeanOperationInfo info) |
String | getParameterName (MBeanOperationInfo op, MBeanParameterInfo param, int sequence) |
String | getDescription (MBeanOperationInfo op, MBeanParameterInfo param, int sequence) |
Definition at line 50 of file AbstractStandardMBean.java.
|
Creates a new
Definition at line 124 of file AbstractStandardMBean.java. 00126 {
00127 super(mbeanInterface);
00128 broadcaster = new NotificationBroadcasterSupport();
00129 }
|
|
Definition at line 63 of file AbstractStandardMBean.java. 00065 { 00066 broadcaster.addNotificationListener(listener, filter, handback); 00067 }
|
|
Allow to retrieve internationalization description on mbeans as well
Referenced by org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getDescription(), and org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getParameterName(). |
|
Definition at line 212 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00214 { 00215 return JmxTranslate.get("mbean." + getAssociatedString() + "." 00216 + op.getName() + ".parameter.description." + sequence); 00217 }
|
|
Definition at line 191 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00192 { 00193 return JmxTranslate.get("mbean." + getAssociatedString() + "." 00194 + info.getName()); 00195 }
|
|
Definition at line 182 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00183 { 00184 return JmxTranslate.get("mbean." + getAssociatedString() + ".attribute." 00185 + info.getName()); 00186 }
|
|
Definition at line 172 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00174 { 00175 return JmxTranslate.get("mbean." + getAssociatedString() + ".constructor." 00176 + ctor.getSignature().length + ".parameter.description." + sequence); 00177 }
|
|
Definition at line 151 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00152 { 00153 return JmxTranslate.get("mbean." + getAssociatedString() + ".constructor." 00154 + ctor.getSignature().length); 00155 }
|
|
Returns the description of the MBean.
Definition at line 143 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00144 { 00145 return JmxTranslate.get("mbean." + getAssociatedString() + ".description"); 00146 }
|
|
Definition at line 72 of file AbstractStandardMBean.java. 00073 { 00074 // is the broadcaster already initialized ? 00075 if (broadcaster == null) 00076 // no we return empty array 00077 return new MBeanNotificationInfo[0]; 00078 00079 return broadcaster.getNotificationInfo(); 00080 }
|
|
Definition at line 201 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00203 { 00204 return JmxTranslate.get("mbean." + getAssociatedString() + "." 00205 + op.getName() + ".parameter.name." + sequence); 00206 }
|
|
Definition at line 161 of file AbstractStandardMBean.java. References org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean.getAssociatedString(). 00163 { 00164 return JmxTranslate.get("mbean." + getAssociatedString() + ".constructor." 00165 + ctor.getSignature().length + ".parameter.name." + sequence); 00166 }
|
|
Definition at line 95 of file AbstractStandardMBean.java. 00098 { 00099 broadcaster.removeNotificationListener(listener, filter, handback); 00100 }
|
|
Definition at line 85 of file AbstractStandardMBean.java. 00087 { 00088 broadcaster.removeNotificationListener(listener); 00089 }
|
|
Sends a notification.
Definition at line 107 of file AbstractStandardMBean.java. Referenced by org.objectweb.cjdbc.controller.jmx.RmiConnector.sendNotification(). 00108 { 00109 broadcaster.sendNotification(notification); 00110 }
|