connector/src/main/java/org/jboss/as/connector/util/Injection.java
@SuppressWarnings("unchecked")
    public void inject(Object object, String propertyName, Object propertyValue)
            throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
        inject(object, propertyName, propertyValue, null, false);
    }
@SuppressWarnings("unchecked")
    public void inject(Object object, String propertyName, Object propertyValue)
            throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
        inject(object, propertyName, propertyValue, null, false);
    }
Inject a value into an object property

@param object        The object
@param propertyName  The property name
@param propertyValue The property value
@throws NoSuchMethodException     If the property method cannot be found
@throws IllegalAccessException    If the property method cannot be accessed
@throws InvocationTargetException If the property method cannot be executed