|
Right Java tools. Open source and Enterprise.
|
com.acelet.s.dashboard
Class DynamicDescriptor
java.lang.Object
com.acelet.s.dashboard.DynamicDescriptor
public abstract class DynamicDescriptor
- extends java.lang.Object
This is the class for providing dynamic descriptor for the following methods:
ModelMBeanInfo.setMBeanDescriptor
ModelMBeanAttributeInfo.setDescriptor
ModelMBeanConstructorInfo.setDescriptor
ModelMBeanNotificationInfo.setDescriptor
ModelMBeanOperationInfo.setDescriptor
Users must provide an implementation for method
getDescriptor
to specify the descriptor value.
|
Field Summary |
static Envoy |
envoy
envoy is a static variable of Envoy. |
|
Method Summary |
abstract javax.management.Descriptor |
getDescriptor()
getDescriptor is a user defined method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
envoy
public static Envoy envoy
envoy is a static variable of Envoy.
It is initialized by the system and can be used to perform
related tasks.
DynamicDescriptor
public DynamicDescriptor()
getDescriptor
public abstract javax.management.Descriptor getDescriptor()
throws com.acelet.s.dashboard.InvalidArgumentException
getDescriptor is a user defined method. It provide dynamic descriptor.
This method is for SuperScheduler or SuperWatchdog.
- Returns:
- the Descriptor.
- Throws:
InvalidArgumentException.
com.acelet.s.dashboard.InvalidArgumentException