On 20/05/2015 15:38, Mandy Chung wrote:

Using the shared secret approach is okay.  Some suggestion:

Since both sun.misc.JavaBeansIntrospectorAccess and ConstructorPropertiesAccess are for JMX to access java.beans types, it could be simplified to have one single interface (e.g. sun.misc.JavaBeansAccess) to define
   Method getReadMethod(Class<?>, String);
   String[] getConstructorProperties(Constructor);

AnnotationHelper and BeansIntrospector can then be merged into the new JavaBeansAccessor class.

I agree and it make it easier to get to other beans classes if needed.

-Alan

Reply via email to