C# Class Spring.Stereotype.RepositoryAttribute

Indicates that an annotated class is a "Repository" (or "DAO").
A class with this attribute is eligible for Spring DataAccessException translation. A class with the Repository attribute is also clarified as to its role in the overall application architecture for the purpose of tools, aspects, etc.

This attribute also serves as a specialization of the ComponentAttribute, allowing implementation classes to be autodetected in future releases through assembly scanning.

Inheritance: Spring.Stereotype.ComponentAttribute
Afficher le fichier Open project: spring-projects/spring-net

Méthodes publiques

Méthode Description
RepositoryAttribute ( )

Initializes a new instance of the RepositoryAttribute class.

RepositoryAttribute ( string name )

Initializes a new instance of the RepositoryAttribute class.

Method Details

RepositoryAttribute() public méthode

Initializes a new instance of the RepositoryAttribute class.
public RepositoryAttribute ( )

RepositoryAttribute() public méthode

Initializes a new instance of the RepositoryAttribute class.
public RepositoryAttribute ( string name )
name string The name of the repository.