struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Preferred Way to Inject Dependency in plugin
Date Wed, 05 Dec 2012 08:29:09 GMT
2012/12/5 Umesh Awasthi <umeshawasthi@gmail.com>:
> I believe with Struts 3.x we should have such mechanism where we can use
> Internal DI to inject dependency in such way :)

But you can achieve the same with Maven right now, just specify an
optional dependency. Beside Validation class can load default provider
http://docs.jboss.org/hibernate/beanvalidation/spec/1.1/api/javax/validation/Validation.html


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message