@Repository: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:
=Overview=
=Overview=


@Repository is a [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Stereotype|stereotype annotation]] that lets [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Component_Scanning|component scanning]] find and configure the [[Spring_Persistence_Concepts#DAO|DAOs]] and [[Spring_Persistence_Concepts#Repository|repositories]] without having to provide XML configuration entries for them.
@Repository is a [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Stereotype|stereotype annotation]] for the persistence layer that lets [[Spring_Dependency_Injection_and_Inversion_of_Control_Container_Concepts#Component_Scanning|component scanning]] find and configure the [[Spring_Persistence_Concepts#DAO|DAOs]] and [[Spring_Persistence_Concepts#Repository|repositories]] without having to provide XML configuration entries for them.

Revision as of 20:48, 14 October 2018

Internal

Overview

@Repository is a stereotype annotation for the persistence layer that lets component scanning find and configure the DAOs and repositories without having to provide XML configuration entries for them.