[ 
https://issues.apache.org/jira/browse/ISIS-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14372596#comment-14372596
 ] 

ASF subversion and git services commented on ISIS-1107:
-------------------------------------------------------

Commit e6551bc46829a3828047148154377a7b91ca7e14 in isis's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=e6551bc ]

ISIS-1107 Register Guice Injector in Wicket before trying to inject the 
application's dependencies

Register Guice's Injector with wicket-guice before injecting the application's 
dependencies so that GuiceBeanProvider can be used too in the transitive 
dependencies.


> Register Guice Injector in Wicket before trying to inject the application's 
> dependencies
> ----------------------------------------------------------------------------------------
>
>                 Key: ISIS-1107
>                 URL: https://issues.apache.org/jira/browse/ISIS-1107
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core: Viewer: Wicket
>    Affects Versions: core-1.8.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> https://github.com/apache/isis/blob/master/core/viewer-wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java#L255
>  tries to inject the members/dependencies of IsisWicketApplication before the 
> Injector is registered in Wicket-IOC.
> This doesn't allow usage of the new GuiceBeanProvider in the dependencies, 
> because it needs to extract  Guice Injector from the Application threadlocal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to