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:
org.springframework.beans.factory.xml.BeanDefinitionParser
public abstract class AbstractPeerRegionParser
extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
Abstract Spring XML parser for peer
Region
bean definitions.- Since:
- 2.2.0
- 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, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder) protected abstract void
doParseRegion
(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, boolean subRegion) protected void
doParseRegionConfiguration
(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder regionBuilder, org.springframework.beans.factory.support.BeanDefinitionBuilder regionAttributesBuilder, boolean subRegion) protected Class<?>
getBeanClass
(Element element) protected String
getParentName
(Element element) protected abstract Class<?>
protected boolean
isRegionTemplate
(Element element) Determines whether the given SDG XML namespace configurationElement
defines aRegion
template used as the base configuration for one or moreRegions
.protected boolean
isSubRegion
(Element element) protected void
parseCollectionOfCustomSubElements
(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, String className, String subElementName, String propertyName) protected void
parseSubRegions
(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, String resolvedCacheRef) protected void
validateDataPolicyShortcutAttributesMutualExclusion
(Element element, org.springframework.beans.factory.xml.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, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder regionBuilder, org.springframework.beans.factory.support.BeanDefinitionBuilder regionAttributesBuilder, boolean subRegion) -
getBeanClass
- Overrides:
getBeanClass
in classorg.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
getRegionFactoryClass
-
getParentName
- Overrides:
getParentName
in classorg.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
isRegionTemplate
Determines whether the given SDG XML namespace configurationElement
defines aRegion
template used as the base configuration for one or moreRegions
. -
isSubRegion
-
doParse
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder) - Overrides:
doParse
in classorg.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
doParseRegion
protected abstract void doParseRegion(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, boolean subRegion) -
parseCollectionOfCustomSubElements
-
parseSubRegions
-
validateDataPolicyShortcutAttributesMutualExclusion
protected void validateDataPolicyShortcutAttributesMutualExclusion(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
-