/** * Writes value to this target. Depending on a flag, writing the value can be * completely silent, when no exception is thrown and with top performances. * Otherwise, an exception is thrown on a failure. */ public void writeValue(final InjectionPoint injectionPoint, final Object propertyValue, final boolean silent) { writeValue(injectionPoint.targetName(), propertyValue, silent); } public void writeValue(final String name, final Object propertyValue, final boolean silent) {
/** * Reads value from the target. If something goes wrong, exception * is thrown. We assume that outjection is controlled by developer * and that each reading of a value must be a successful operation. */ public Object readValue(final InjectionPoint injectionPoint) { return readValue(injectionPoint.targetName()); } public Object readValue(final String name) {