|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.repository.config.NamedQueriesBeanDefinitionBuilder
public class NamedQueriesBeanDefinitionBuilder
Builder to create a BeanDefinition
for a NamedQueries
instance.
Constructor Summary | |
---|---|
NamedQueriesBeanDefinitionBuilder(String defaultLocation)
Creates a new NamedQueriesBeanDefinitionBuilder using the given default location. |
Method Summary | |
---|---|
BeanDefinition |
build(Object source)
Builds a new BeanDefinition from the given source. |
void |
setLocations(String locations)
Sets the (comma-separated) locations to load the properties files from to back the NamedQueries instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedQueriesBeanDefinitionBuilder(String defaultLocation)
NamedQueriesBeanDefinitionBuilder
using the given default location.
defaultLocation
- must not be null or empty.Method Detail |
---|
public void setLocations(String locations)
NamedQueries
instance.
locations
- must not be null or empty.public BeanDefinition build(Object source)
BeanDefinition
from the given source.
source
-
|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |