public class RepositoryBeanDefinitionParser extends Object implements org.springframework.beans.factory.xml.BeanDefinitionParser
GlobalRepositoryConfigInformation object and
allow either manual configuration or automatic detection of repository interfaces.| Constructor and Description |
|---|
RepositoryBeanDefinitionParser(RepositoryConfigurationExtension extension)
Creates a new
RepositoryBeanDefinitionParser using the given RepositoryConfigurationExtension. |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
hasBean(Class<?> type,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Returns whether the given
BeanDefinitionRegistry already contains a bean of the given type assuming the
bean name has been autogenerated. |
org.springframework.beans.factory.config.BeanDefinition |
parse(Element element,
org.springframework.beans.factory.xml.ParserContext parser) |
public RepositoryBeanDefinitionParser(RepositoryConfigurationExtension extension)
RepositoryBeanDefinitionParser using the given RepositoryConfigurationExtension.extension - must not be null.public org.springframework.beans.factory.config.BeanDefinition parse(Element element, org.springframework.beans.factory.xml.ParserContext parser)
parse in interface org.springframework.beans.factory.xml.BeanDefinitionParserprotected static boolean hasBean(Class<?> type, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
BeanDefinitionRegistry already contains a bean of the given type assuming the
bean name has been autogenerated.type - registry - Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.