MacWire 0.5 发布了,该版本新增 Interceptors ,这对实现横切点概念非常有用。详细介绍请看http://planet.jboss.org/post/macwire_0_5_interceptors
MacWire 为给定的类生成新的实例创建代码,在 Scala 宏的帮助下通过在构造函数参数的封闭类型中使用值实现。
MacWire 可以帮助实现依赖注入模式,不必须手工编写代码。
官方首页:https://github.com/adamw/macwire
来自:开源中国社区

