Method from org.apache.tomcat.util.modeler.AttributeInfo Detail: |
MBeanAttributeInfo createAttributeInfo() {
// Return our cached information (if any)
if (info == null) {
info = new MBeanAttributeInfo(getName(), getType(), getDescription(),
isReadable(), isWriteable(), false);
}
return (MBeanAttributeInfo)info;
}
Create and return a ModelMBeanAttributeInfo object that
corresponds to the attribute described by this instance. |
public String getDisplayName() {
return (this.displayName);
}
The display name of this attribute. |
public String getGetMethod() {
if(getMethod == null)
getMethod = getMethodName(getName(), true, isIs());
return (this.getMethod);
}
The name of the property getter method, if non-standard. |
public String getSetMethod() {
if( setMethod == null )
setMethod = getMethodName(getName(), false, false);
return (this.setMethod);
}
The name of the property setter method, if non-standard. |
public boolean isIs() {
return (this.is);
}
Is this a boolean attribute with an "is" getter? |
public boolean isReadable() {
return (this.readable);
}
Is this attribute readable by management applications? |
public boolean isWriteable() {
return (this.writeable);
}
Is this attribute writeable by management applications? |
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
|
public void setGetMethod(String getMethod) {
this.getMethod = getMethod;
}
|
public void setIs(boolean is) {
this.is = is;
}
|
public void setReadable(boolean readable) {
this.readable = readable;
}
|
public void setSetMethod(String setMethod) {
this.setMethod = setMethod;
}
|
public void setWriteable(boolean writeable) {
this.writeable = writeable;
}
|