Right Java tools. Open source and Enterprise.
|Home | Products | Documents | Downloads | Purchase | Support | Company | Partners | Contact |

com.acelet.s.dashboard
Class DynamicDescriptor

java.lang.Object
  extended by 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.
 
Constructor Summary
DynamicDescriptor()
           
 
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
 

Field Detail

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.

Constructor Detail

DynamicDescriptor

public DynamicDescriptor()
Method Detail

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

Copyright Acelet Corporation. 2000-2008. All rights reserved.