src/main/java/com/amlinv/jmxutil/polling/AttributeInjector.java
public void copyOutAttributes(Object target, List<Attribute> jmxAttributeValues,
                                  Map<String, Method> attributeSetters, ObjectName objectName) {

        this.copyOutAttributes(target, jmxAttributeValues, attributeSetters, "oname", objectName);
    }
public void copyOutAttributes(Object target, List<Attribute> jmxAttributeValues,
                                  Map<String, Method> attributeSetters, ObjectName objectName) {

        this.copyOutAttributes(target, jmxAttributeValues, attributeSetters, "oname", objectName);
    }
public void copyOutAttributes ( Object target , List < Attribute > jmxAttributeValues , Map < String , Method > attributeSetters , ObjectName objectName ) { this . copyOutAttributes ( target , jmxAttributeValues , attributeSetters , "oname" , objectName ) ; }
For a JMX MBean idenfitied by an ObjectName, copy the values of the given attributes into the target object
using the specified setter methods mapped by attribute name.

@param target object into which values are injected.
@param jmxAttributeValues values of the attributes to inject.
@param attributeSetters map of attribute name to setter used to determine how to inject each attribute's value.
@param objectName name of the MBean involved - used only for logging.
For a JMX MBean idenfitied by an ObjectName copy the values of the given attributes into the target object using the specified setter methods mapped by attribute name .