Class NamedQueriesBeanDefinitionBuilder
java.lang.Object
org.springframework.data.repository.config.NamedQueriesBeanDefinitionBuilder
Builder to create a
BeanDefinition
for a NamedQueries
instance.- Author:
- Oliver Gierke
-
Constructor Summary
ConstructorDescriptionNamedQueriesBeanDefinitionBuilder
(String defaultLocation) Creates a newNamedQueriesBeanDefinitionBuilder
using the given default location. -
Method Summary
Modifier and TypeMethodDescriptionBuilds a newBeanDefinition
from the given source.void
setLocations
(String locations) Sets the (comma-separated) locations to load the properties files from to back theNamedQueries
instance.
-
Constructor Details
-
NamedQueriesBeanDefinitionBuilder
Creates a newNamedQueriesBeanDefinitionBuilder
using the given default location.- Parameters:
defaultLocation
- must not be null or empty.
-
-
Method Details
-
setLocations
Sets the (comma-separated) locations to load the properties files from to back theNamedQueries
instance.- Parameters:
locations
- must not be null or empty.
-
build
Builds a newBeanDefinition
from the given source.- Parameters:
source
-- Returns:
-