Class NamedQueriesBeanDefinitionParser
java.lang.Object
org.springframework.data.repository.config.NamedQueriesBeanDefinitionParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
public class NamedQueriesBeanDefinitionParser
extends Object
implements org.springframework.beans.factory.xml.BeanDefinitionParser
BeanDefinitionParser
to create BeanDefinition
s of NamedQueries
instances looking up a
Properties
file fom the given location.- Author:
- Oliver Gierke, Mark Paluch
-
Constructor Summary
ConstructorDescriptionNamedQueriesBeanDefinitionParser
(String defaultLocation) Creates a newNamedQueriesBeanDefinitionParser
using the given default location. -
Method Summary
-
Constructor Details
-
NamedQueriesBeanDefinitionParser
Creates a newNamedQueriesBeanDefinitionParser
using the given default location.- Parameters:
defaultLocation
- must be non-empty
-
-
Method Details
-
parse
@NonNull public org.springframework.beans.factory.config.BeanDefinition parse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext) - Specified by:
parse
in interfaceorg.springframework.beans.factory.xml.BeanDefinitionParser
-