Object getObject() {
return obj;
}
private synchronized void findDescription() {
MBean mbean = getAnnotation(getObject().getClass(), MBean.class);
if (mbean != null && mbean.description() != null && mbean.description().trim().length() > 0) {
description = mbean.description();
if (log.isDebugEnabled()) {
log.debugf("@MBean description set - %s", mbean.description());
}
MBeanAttributeInfo info = new MBeanAttributeInfo(MBEAN_DESCRITION, "java.lang.String",
"@MBean description", true, false, false);
try {
atts.put(MBEAN_DESCRITION, new FieldAttributeEntry(info, getClass().getDeclaredField(