Package com.sefer.dragonfly.client.core.domain.mbean.annotation

Examples of com.sefer.dragonfly.client.core.domain.mbean.annotation.CMbeanAttribute


    List<ModelMBeanAttributeInfo> lists = new ArrayList<ModelMBeanAttributeInfo>();
    Field[] fields = obj.getClass().getFields();
    if (fields != null) {
      for (Field field : fields) {
        field.setAccessible(true);
        CMbeanAttribute annotation = field
            .getAnnotation(CMbeanAttribute.class);
        if (annotation != null) {
          ModelMBeanAttributeInfo info = new ModelMBeanAttributeInfo(
              field.getName(), field.getType().getName(),
              annotation.description(), annotation.isReadable(),
              annotation.isWriteable(), annotation.isIs());
          lists.add(info);
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.sefer.dragonfly.client.core.domain.mbean.annotation.CMbeanAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.