/** {@inheritDoc} */ @Override protected String getDescription(MBeanOperationInfo op) { String descr = op.getDescription(); Method m = getMethod(op); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo) { String name = param.getName(); Method m = getMethod(op); if (m != null) { for (Annotation a : m.getParameterAnnotations()[paramNo]) { if (MBeanInfo.class.isInstance(a)) name = MBeanInfo.class.cast(a).value(); } } return name; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanAttributeInfo info) { String descr = info.getDescription(); Method m = getMethod(getMBeanInterface(), "get" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "is" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "does" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo) { String name = param.getName(); Method m = getMethod(op); if (m != null) { for (Annotation a : m.getParameterAnnotations()[paramNo]) { if (MBeanInfo.class.isInstance(a)) name = MBeanInfo.class.cast(a).value(); } } return name; }
/** {@inheritDoc} */ @Override protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo) { String name = param.getName(); Method m = getMethod(op); if (m != null) { for (Annotation a : m.getParameterAnnotations()[paramNo]) { if (MBeanInfo.class.isInstance(a)) name = MBeanInfo.class.cast(a).value(); } } return name; }
/** {@inheritDoc} */ @Override protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo) { String name = param.getName(); Method m = getMethod(op); if (m != null) { for (Annotation a : m.getParameterAnnotations()[paramNo]) { if (MBeanInfo.class.isInstance(a)) name = MBeanInfo.class.cast(a).value(); } } return name; }
/** {@inheritDoc} */ @Override protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo) { String name = param.getName(); Method m = getMethod(op); if (m != null) { for (Annotation a : m.getParameterAnnotations()[paramNo]) { if (MBeanInfo.class.isInstance(a)) name = MBeanInfo.class.cast(a).value(); } } return name; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanOperationInfo op) { String descr = op.getDescription(); Method m = getMethod(op); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanOperationInfo op) { String descr = op.getDescription(); Method m = getMethod(op); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanOperationInfo op) { String descr = op.getDescription(); Method m = getMethod(op); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanOperationInfo op) { String descr = op.getDescription(); Method m = getMethod(op); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanAttributeInfo info) { String descr = info.getDescription(); Method m = getMethod(getMBeanInterface(), "get" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "is" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "does" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanAttributeInfo info) { String descr = info.getDescription(); Method m = getMethod(getMBeanInterface(), "get" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "is" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "does" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanAttributeInfo info) { String descr = info.getDescription(); Method m = getMethod(getMBeanInterface(), "get"+info.getName().substring(0, 1).toUpperCase()+info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "is"+info.getName().substring(0, 1).toUpperCase()+info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "does"+info.getName().substring(0, 1).toUpperCase()+info.getName().substring(1)); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }
/** {@inheritDoc} */ @Override protected String getDescription(MBeanAttributeInfo info) { String descr = info.getDescription(); Method m = getMethod(getMBeanInterface(), "get" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "is" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m == null) m = getMethod(getMBeanInterface(), "does" + info.getName().substring(0, 1).toUpperCase() + info.getName().substring(1)); if (m != null) { MBeanInfo d = m.getAnnotation(MBeanInfo.class); if (d != null) descr = d.value(); } return descr; }