public class RepositoryBeanDefinitionParser extends Object implements 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,
BeanDefinitionRegistry registry)
Returns whether the given
BeanDefinitionRegistry already contains a bean of the given type assuming the
bean name has been autogenerated. |
BeanDefinition |
parse(Element element,
ParserContext parser) |
public RepositoryBeanDefinitionParser(RepositoryConfigurationExtension extension)
RepositoryBeanDefinitionParser using the given RepositoryConfigurationExtension.extension - must not be null.@Nullable public BeanDefinition parse(Element element, ParserContext parser)
parse in interface BeanDefinitionParserprotected static boolean hasBean(Class<?> type, BeanDefinitionRegistry registry)
BeanDefinitionRegistry already contains a bean of the given type assuming the
bean name has been autogenerated.type - registry - Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.