struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <w...@wantii.com>
Subject Re: xwork and DI
Date Tue, 22 Apr 2008 00:00:54 GMT
Musachy, 

Is your object (injectee) instantiated by the container? I think there
is some work to do after instantiating so that the dependencies can be
injected. 

-Wes

On Mon, 2008-04-21 at 14:37 -0400, Musachy Barroso wrote:
> If I want to add a constant that can be injected in one of xwork
> classes (like "devMode" for example), what do I need to do? Just
> adding @Inject and defining the constant in default.properties in core
> doesn't work. I don't know much about this whole guice black magic
> thing :)
> 
> musachy
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message