Class AbstractPeerRegionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.data.gemfire.config.xml.AbstractPeerRegionParser
- All Implemented Interfaces:
BeanDefinitionParser
Abstract Spring XML parser for peer
Region
bean definitions.- Since:
- 2.2.0
- Author:
- John Blum
- See Also:
-
Region
AsyncEventQueue
GatewaySender
BeanDefinitionBuilder
ParserContext
AbstractRegionParser
Element
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.slf4j.Logger
protected static final String
protected static final String
protected static final String
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doParse
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) protected abstract void
doParseRegion
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder, boolean subRegion) protected void
doParseRegionConfiguration
(Element element, ParserContext parserContext, BeanDefinitionBuilder regionBuilder, BeanDefinitionBuilder regionAttributesBuilder, boolean subRegion) protected Class<?>
getBeanClass
(Element element) protected String
getParentName
(Element element) protected abstract Class<?>
protected boolean
isRegionTemplate
(Element element) protected boolean
isSubRegion
(Element element) protected void
parseCollectionOfCustomSubElements
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder, String className, String subElementName, String propertyName) protected void
parseSubRegions
(Element element, ParserContext parserContext, String resolvedCacheRef) protected void
validateDataPolicyShortcutAttributesMutualExclusion
(Element element, ParserContext parserContext) Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Field Details
-
REGION_DEFINITION_SUFFIX
- See Also:
-
REGION_TEMPLATE_SUFFIX
- See Also:
-
TEMPLATE_ATTRIBUTE
- See Also:
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
AbstractPeerRegionParser
public AbstractPeerRegionParser()
-
-
Method Details
-
doParseRegionConfiguration
protected void doParseRegionConfiguration(Element element, ParserContext parserContext, BeanDefinitionBuilder regionBuilder, BeanDefinitionBuilder regionAttributesBuilder, boolean subRegion) -
getBeanClass
- Overrides:
getBeanClass
in classAbstractSingleBeanDefinitionParser
-
getRegionFactoryClass
- Returns:
- the
type
of theRegion
FactoryBean
. - See Also:
-
getParentName
- Overrides:
getParentName
in classAbstractSingleBeanDefinitionParser
-
isRegionTemplate
-
isSubRegion
- Parameters:
element
- SDG XML namespaceRegion
Element
to evaluate as aSub-Region
.- Returns:
- a boolean value indicating whether the current SDG XML namespace
Region
Element
is aSub-Region
definition. - See Also:
-
doParse
- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-
doParseRegion
protected abstract void doParseRegion(Element element, ParserContext parserContext, BeanDefinitionBuilder builder, boolean subRegion) -
parseCollectionOfCustomSubElements
protected void parseCollectionOfCustomSubElements(Element element, ParserContext parserContext, BeanDefinitionBuilder builder, String className, String subElementName, String propertyName) -
parseSubRegions
protected void parseSubRegions(Element element, ParserContext parserContext, String resolvedCacheRef) -
validateDataPolicyShortcutAttributesMutualExclusion
protected void validateDataPolicyShortcutAttributesMutualExclusion(Element element, ParserContext parserContext)
-