首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 条纹Guice集成

条纹Guice集成

  • 资源大小:5.71 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: guice 集成 条纹

资 源 简 介

Guice Integration for Stripes Stripes-guicer is early alpha software. Download and use at your own risk, and please leave bug reports! What Do I Get with stripes-guicer? Constructor, Field, and Method Injection in Stripes ActionBean, ActionBeanContext, and Interceptors (Constructor injection is only available in ActionBeans.) For example, if MyActionBean relies on MyService: ``` public class MyActionBean implements ActionBean { private MyService myService; private MyService otherService; @Inject public MyActionBean( MyService myService ) { this.myService = myService; } @Inject public void setService(@MyAnnotation MyService service){ this.otherService = service; } } ``` ActionBeanContext injection: public MyActionBeanContext extends ActionBeanContext { ... @Inject public void setServ

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.221789s