
注解
知行year
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
注解@SuppressWarnings(“XXXX”)
@SuppressWarnings(“XXXX”) Update #1: All these annotations are still valid in Eclipse 3.4 and 3.5, there have been no new SuppressWarning arguments added in those versions of the JDT compiler.翻译 2016-01-21 17:53:18 · 1171 阅读 · 0 评论 -
# @Resource @Autowired @Qualifier注解
@Resource @Autowired @Qualifier注解Resource注解的使用规则: 1、在spring的配置文件中导入命名空间 2、引入注解解析器 3、在spring的配置文件中把bean引入进来 4、在一个类的属性上加 @Resource() private Student st原创 2016-01-22 11:14:39 · 881 阅读 · 0 评论 -
@Component注解
类扫描的注解: 1、在spring的配置文件中导入命名空间 xmlns:context=”http://www.springframework.org/schema/context” http://www.springframework.org/schema/context http://www.springframework.or原创 2016-01-22 11:26:46 · 3929 阅读 · 0 评论