|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.management.StandardMBean
javax.management.StandardEmitterMBean
com.tangosol.net.management.AnnotatedStandardEmitterMBean
public class AnnotatedStandardEmitterMBean
AnnotatedStandardMBean is an extension of a StandardEmitterMBean
that uses the Description
annotation for describing the attributes, operations and the bean on the designated MBean interface and emits notifications.
The implementation of this class is basically identical to the AnnotatedStandardMBean
class.
Constructor Summary | |
---|---|
AnnotatedStandardEmitterMBean(java.lang.Object impl, java.lang.Class clzIface, javax.management.NotificationEmitter emitter) Make a DynamicMBean out of the MBean implementation, using the specified mbeanInterface class. |
Method Summary | |
---|---|
protected java.lang.String |
getDescription(javax.management.MBeanAttributeInfo info) Retrieve a description for a particular attribute by finding a Description annotation on the getter method for the attribute. |
protected java.lang.String |
getDescription(javax.management.MBeanInfo info) Retrieve the description for the MBean from the MBean interface annotation. |
protected java.lang.String |
getDescription(javax.management.MBeanOperationInfo info) Retrieve a description for the particular MBeanOperationInfo by finding a Description annotation on the corresponding operation. |
protected java.lang.String |
getParameterName(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int iParam) Retrieve the parameter name for the specified parameter by finding a Description annotation on the operation. |
Methods inherited from class javax.management.StandardEmitterMBean |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class javax.management.StandardMBean |
---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
Constructor Detail |
---|
public AnnotatedStandardEmitterMBean(java.lang.Object impl, java.lang.Class clzIface, javax.management.NotificationEmitter emitter) throws javax.management.NotCompliantMBeanException
impl
- the implementation of the MBeanclzIface
- the Management Interface implemented by the MBean's implementation. If null, then this object will use standard JMX design pattern to determine the management interface associated with the given implementationemitter
- the object that will handle notificationsjavax.management.NotCompliantMBeanException
- if the mbeanInterface does not follow JMX design patterns for Management Interfaces, or if the provided implementation does not implement the specified interfaceMethod Detail |
---|
protected java.lang.String getDescription(javax.management.MBeanInfo info)
getDescription
in class javax.management.StandardMBean
info
- the MBeanInfo
for the MBeanprotected java.lang.String getDescription(javax.management.MBeanOperationInfo info)
MBeanOperationInfo
by finding a Description
annotation on the corresponding operation.getDescription
in class javax.management.StandardMBean
info
- the MBeanOperationInfo
protected java.lang.String getDescription(javax.management.MBeanAttributeInfo info)
Description
annotation on the getter method for the attribute. If a description is not found on the getter method, the setter will be checked.getDescription
in class javax.management.StandardMBean
info
- the MBeanAttributeInfo
for the attributeprotected java.lang.String getParameterName(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int iParam)
Description
annotation on the operation.getParameterName
in class javax.management.StandardMBean
op
- the MBeanOperationInfo
for the opparam
- the MBeanParameterInfo} for the parameteriParam
- zero-based sequence number of the parameter
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |