[seam-dev] Conversion API
Adrian Gonzalez
adr_gonzalez at yahoo.fr
Thu Jun 30 09:13:49 EDT 2011
Hello,
Just looked at 2011-06-29 meeting.
If it can help, Spring has a conversion API.
Here are some links :
* http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/validation.html#core-convert
* http://static.springsource.org/spring/docs/3.1.0.M2/javadoc-api/org/springframework/core/convert/package-frame.html
* http://www.developer.com/java/web/article.php/10935_3861826_2/The-New-Spring-30-Features-You-Need-to-Know.htm
Here's a usage sample (taken from spring doc) :
@Service public class MyService { @Autowired public MyService(ConversionService conversionService) { this.conversionService = conversionService; } public void doIt() { this.conversionService.convert(...) }
}
Adriàn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110630/5dadcb45/attachment.html
More information about the seam-dev
mailing list