public abstract class AbstractPeerRegionParser extends AbstractSingleBeanDefinitionParser
Region
bean definitions.Region
,
AsyncEventQueue
,
GatewaySender
,
BeanDefinitionBuilder
,
ParserContext
,
AbstractRegionParser
,
Element
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected static String |
REGION_DEFINITION_SUFFIX |
protected static String |
REGION_TEMPLATE_SUFFIX |
protected static String |
TEMPLATE_ATTRIBUTE |
ID_ATTRIBUTE, NAME_ATTRIBUTE
Constructor and Description |
---|
AbstractPeerRegionParser() |
Modifier and Type | Method and Description |
---|---|
protected 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<?> |
getRegionFactoryClass()
|
protected boolean |
isRegionTemplate(Element element)
Determines whether the given SDG XML namespace configuration
Element defines a Region template
used as the base configuration for one or more Regions . |
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) |
doParse, getBeanClassName, parseInternal
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
protected static final String REGION_DEFINITION_SUFFIX
protected static final String REGION_TEMPLATE_SUFFIX
protected static final String TEMPLATE_ATTRIBUTE
protected final org.slf4j.Logger logger
protected void doParseRegionConfiguration(Element element, ParserContext parserContext, BeanDefinitionBuilder regionBuilder, BeanDefinitionBuilder regionAttributesBuilder, boolean subRegion)
protected Class<?> getBeanClass(Element element)
getBeanClass
in class AbstractSingleBeanDefinitionParser
protected abstract Class<?> getRegionFactoryClass()
type
of the Region
FactoryBean
.FactoryBean
,
Class
protected String getParentName(Element element)
getParentName
in class AbstractSingleBeanDefinitionParser
protected boolean isRegionTemplate(@NonNull Element element)
Element
defines a Region
template
used as the base configuration for one or more Regions
.protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder)
doParse
in class AbstractSingleBeanDefinitionParser
protected abstract void doParseRegion(Element element, ParserContext parserContext, BeanDefinitionBuilder builder, boolean subRegion)
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)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.