Constant « XML « Spring Q&A





1. Using Class Constants in Spring.xml    forum.springsource.org

How do I pass a Class constant to a bean property in a spring.xml file? Here's a sample spring.xml entry illustrating what I'm trying to configure: Code:

2. With constants, is it worth to maintain in applCtx.xml    forum.springsource.org

With constants, is it worth to maintain in applCtx.xml I'm wondering the validity of using Sping DI over the type-safe enum pattern for constants. Basically I create a bean with all ...