I updated the GuiceObjectFactory code to handle the changes that were
made to XWork and Struts 2 object loading in 2.0.8. I have the code in
the Vertigo-Java project if folks want to take a look and include it in
their projects:
http://vertigo-java.googlecode.com/svn/vertigo-core/trunk/src/java/main/org/inversoft/vertigo/guice/GuiceObjectFactory.java
The main change was that the Injector can be created multiple times
using an AtomicBoolean. This is probably a bit overkill, but should
handle any wacky calls that Struts/XWork might make in the future. Also,
I figured that if the Injector didn't have class being loaded, I would
add it and recreate the Injector. This is also probably overkill, but
covers all bases.
Anyways, have a look and let me know if you guys see anything out of
place. I've tested it and it works fine with the Struts 2.0.9 and XWork
2.0.4 releases.
-bp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]