Skip to content

Commit

Permalink
@reference在方法级别注入失败
Browse files Browse the repository at this point in the history
  • Loading branch information
benson-git authored Mar 7, 2017
1 parent 27917f2 commit c698c7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public Object postProcessBeforeInitialization(Object bean, String beanName)
if (reference != null) {
Object value = refer(reference, method.getParameterTypes()[0]);
if (value != null) {
method.invoke(bean, new Object[] { });
method.invoke(bean, new Object[] {value});
}
}
} catch (Throwable e) {
Expand Down

0 comments on commit c698c7a

Please sign in to comment.