Using Spring Dynamic Languages Support from Java Configuration
问题 I'd like to use Dynamic Languages Support of Spring Framework. In XML I'd just use the lang namespace, but I'd like to use Java configuration (i.e. @Configuration classes) only . I can imagine that I can do it by initializing all the hell from org.springframework.scripting.config package, inc. all the BeanPostProcessor s, Handler s, Parser s and FactoryBean s they create, but I really don't want to go there. Is there some other way? If there's none, what will be the minimal configuration