Spring Data Commons

org.springframework.data.repository.config
Class NamedQueriesBeanDefinitionParser

java.lang.Object
  extended by org.springframework.data.repository.config.NamedQueriesBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class NamedQueriesBeanDefinitionParser
extends java.lang.Object
implements org.springframework.beans.factory.xml.BeanDefinitionParser

BeanDefinitionParser to create BeanDefinitions of NamedQueries instances looking up a Properties file fom the given location.

Author:
Oliver Gierke

Constructor Summary
NamedQueriesBeanDefinitionParser(java.lang.String defaultLocation)
          Creates a new NamedQueriesBeanDefinitionParser using the given default location.
 
Method Summary
 org.springframework.beans.factory.config.BeanDefinition parse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedQueriesBeanDefinitionParser

public NamedQueriesBeanDefinitionParser(java.lang.String defaultLocation)
Creates a new NamedQueriesBeanDefinitionParser using the given default location.

Parameters:
defaultLocation - must be non-empty
Method Detail

parse

public org.springframework.beans.factory.config.BeanDefinition parse(org.w3c.dom.Element element,
                                                                     org.springframework.beans.factory.xml.ParserContext parserContext)
Specified by:
parse in interface org.springframework.beans.factory.xml.BeanDefinitionParser

Spring Data Commons

Copyright © 2012. All Rights Reserved.