配置注入框架
我最近偶然发现了以下配置注入框架。 看起来很有趣并且似乎符合我的需求。 有人尝试过或者了解其他一些配置注入框架吗? 据我所知Spring和Google Guice不支持这种注入?
I recently stumbled upon the following Configuration Injection Framework. Seems interesting and seems to fit my needs. Has anyone tried it or knows about some other Configuration Injection frameworks? As far as I know Spring and Google Guice does not support this kinds of injection?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 Spring 中,您可以使用 PropertyPlaceHolderConfigurer 执行类似的操作,请查看 http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch04s07.html#beans-factory-placeholderconfigurer
In Spring you can do something similiar with the PropertyPlaceHolderConfigurer, look at http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch04s07.html#beans-factory-placeholderconfigurer
Constretto 与 spring 可能会满足您的需求。 Spring 也做了大部分这些事情,特别是在 3.0 版本中
Constretto with spring may provide what you need. Spring also does most of these things, especially in version 3.0