@Override protected void doBindResourceField(ComponentDef componentDef, Field field, Object component) { if (!bindAutoResourceField(componentDef, field, component)) { throwAutoBindingFailureException(componentDef, field, component); } }
@Override protected void doBindProperty(ComponentDef componentDef, PropertyDesc propertyDesc, Object component) { if (!bindAutoProperty(componentDef, propertyDesc, component)) { // TODO jflute lastaflute: [E] fitting: DI :: cannot find component error handling final Class<?> componentClass = BindingUtil.getComponentClass(componentDef, component); final String propertyName = propertyDesc.getPropertyName(); throw new IllegalAutoBindingPropertyRuntimeException(componentClass, propertyName); } }