Take a look at http://code.google.com/p/jolira-tools/wiki/guicier
<http://code.google.com/p/jolira-tools/wiki/guicier>There is an extended
integration with Guice.

On Mon, Feb 21, 2011 at 5:16 PM, Dan Griffin <[email protected]> wrote:

> Sorry for spamming, but I remembered another thing I would like to ask
> related to this. The reason why I need to inject a page is because I would
> like to use guice AOP feature to wrap an interceptor around wicket pages. If
> you can recommend another way to do that , it would be helpful as well. I
> did a quick scan through wicket documentation, but couldn`t find anything
> useful. Maybe I missed something?
>
> Време: 21.02.2011. 13:31, Dan Griffin пише:
>
>  Hi all,
>>
>> I have guice integrated in my wicket app, and it worked fine until I tried
>> to inject a page, when I received
>>
>> java.lang.IllegalArgumentException: Protected method:
>> checkHierarchyChange(Lorg/apache/wicket/Component;)
>>
>> Now, I assume this is because of guice integration pitfall <
>> https://cwiki.apache.org/WICKET/guice-integration-pitfall.html>, as I
>> clearly cannot use interfaces here, but the proposed solution (with
>> deprecated protected no-arg constructor) doesn`t help me here. Any idea how
>> to get around this?
>>
>> Thanks in advance,
>> Dan
>>
>>
>

Reply via email to