| |
|
| java.lang.Object javax.management.modelmbean.DescriptorSupport com.sun.jbi.management.config.DescriptorSupport
DescriptorSupport | public class DescriptorSupport extends javax.management.modelmbean.DescriptorSupport (Code) | | DescriptorSupport is an extension of the JMX ModelMBean DescriptorSupport.
It provides additional setters to set fields specific to the JBI Configuration.
Additionaly, it overrrides the isValid operation to check for the presence of
all required fields.
author: Sun Microsystems, Inc. |
Inner Class :public enum RequiredFieldName | |
Inner Class :public enum OptionalFieldName | |
DescriptorSupport | public DescriptorSupport()(Code) | | Default constructor
|
DescriptorSupport | DescriptorSupport(DescriptorSupport inDescr)(Code) | | Descriptor constructor taking a Descriptor as parameter.
Parameters: inDescriptor - - the descriptor to initialize from See Also: javax.jbi.management.modelmbean.DescriptorSupport |
DescriptorSupport | DescriptorSupport(int initNumFields) throws javax.management.MBeanException(Code) | | Descriptor constructor.
Parameters: initNumFields - - initial number of fields See Also: javax.jbi.management.modelmbean.DescriptorSupport |
DescriptorSupport | DescriptorSupport(String[] fields)(Code) | | Constructor taking fields in the fieldName=fieldValue format.
Parameters: fileds - - fields in the fieldName=fieldValue format. See Also: javax.jbi.management.modelmbean.DescriptorSupport |
DescriptorSupport | DescriptorSupport(String[] fieldNames, Object[] fieldValues)(Code) | | Constructor taking field names and field values.
|
isValid | public boolean isValid() throws javax.management.RuntimeOperationsException(Code) | | For a decriptor to be valid the following has to be true :
- The basic isValid() of the base javax.management.modelmbean.DescriptorSupport should pass.
- All required fields should have been set
|
setAttributeName | public void setAttributeName(String name)(Code) | | Parameters: name - - identification for the attribute |
setDefault | public void setDefault(Object def)(Code) | | Parameters: def - - default value for the object |
setDescriptionId | public void setDescriptionId(String id)(Code) | | Parameters: id - - localzation token for description. |
setDisplayName | public void setDisplayName(String displayName)(Code) | | Parameters: displayName - - display name string for the attribute |
setDisplayNameId | public void setDisplayNameId(String id)(Code) | | Parameters: id - - localzation token for display name. |
setEnumValue | public void setEnumValue(String value)(Code) | | Parameters: value - - emumeration of allowed values |
setIsPassword | public void setIsPassword(Boolean isPassword)(Code) | | Parameters: isStatic - - if true, this field is to be encrypted beforepersisting it and the value is masked when retrieved. |
setIsStatic | public void setIsStatic(Boolean isStatic)(Code) | | Parameters: isStatic - - if true, the JBI runtime has to be restarted for changes to apply. |
setMaxValue | public void setMaxValue(Object value)(Code) | | Parameters: value - - maximum value allowed |
setMinValue | public void setMinValue(Object value)(Code) | | Parameters: value - - minumum value allowed |
setResourceBundleName | public void setResourceBundleName(String bundleName)(Code) | | Parameters: bundleName - - resource bundle identification |
setToolTip | public void setToolTip(String toolTip)(Code) | | Parameters: toolTip - - long description for the attribute. |
setToolTipId | public void setToolTipId(String toolTipId)(Code) | | Parameters: toolTipId - - localization id for the tool tip string. |
setUnit | public void setUnit(String unit)(Code) | | Parameters: unit - - unit as a string |
|
|
|