Annotation Interface RepositoryDefinition
@Indexed
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Inherited
public @interface RepositoryDefinition
Annotation to demarcate interfaces a repository proxy shall be created for. Annotating an interface with
RepositoryDefinition
will cause the same behaviour as extending Repository
.- Author:
- Oliver Gierke
- See Also:
-
Element Details
-
domainClass
Class<?> domainClassThe domain class the repository manages. Equivalent to the T type parameter inRepository
.- Returns:
- See Also:
-
idClass
Class<?> idClassThe id class of the entity the repository manages. Equivalent to the ID type parameter inRepository
.- Returns:
- See Also:
-