[ 
https://issues.apache.org/jira/browse/WICKET-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov updated WICKET-2761:
------------------------------------

    Attachment: WICKET-2761-1.5.patch

A patch for 1.5.

As discussed with Igor in IRC I removed the support for injecting 
java.lang.reflection.Method because it is not a good practice to call instance 
methods during class initialization and just because Guice supports this it is 
not needed Wicket-Guice to support it. Wicket-Spring does not support this as 
well.
If this backward incompatible change is approved by the other devs then an 
entry at 
http://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5 
should be added.

InjectionFlagCachingGuiceComponentInjector.java is removed since this kind of 
caching is moved to the abstract org.apache.wicket.injection.Injector.


> InjectorHolder.getInjector().inject(this) doesn't work with wicket-guice
> ------------------------------------------------------------------------
>
>                 Key: WICKET-2761
>                 URL: https://issues.apache.org/jira/browse/WICKET-2761
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-guice
>    Affects Versions: 1.4.6
>            Reporter: Martin Grigorov
>         Attachments: guice-legup.tgz, WICKET-2761-1.5.patch, WICKET-2761.patch
>
>
> Using Wicket-Guice integration for dependency injection does not provide the 
> helper mechanism 'InjectorHolder.getInjector().inject(this)' for classes 
> which do not extend o.a.w.Component.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to