站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

Repository (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.stereotype
Annotation Type Repository


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface Repository

Indicates that an annotated class is a "Repository" (or "DAO").

A class thus annotated is eligible for Spring DataAccessException translation. The annotated class is also clarified as to its role in the overall application architecture for the purpose of tools, aspects, etc.

Since:
2.0
Author:
Rod Johnson


The Spring Framework

Copyright © 2002-2007 The Spring Framework.