Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2002-2007 The Spring Framework.