Package com.tangosol.config.xml
Interface ConditionalElementProcessor<T>
- Type Parameters:
T
- the type of value that will be returned by theConditionalElementProcessor
, should anXmlElement
be processed.
- All Superinterfaces:
ElementProcessor<T>
- All Known Implementing Classes:
AbstractEmptyElementProcessor
,EnumProcessor
,MemberListenerProcessor
,MemorySizeProcessor
,MillisProcessor
,PartitionListenerProcessor
,PasswordProviderBuilderProcessor
,PersistenceEnvironmentsProcessor.PersistenceEnvironmentProcessor
,PersistenceProcessor
,ResourceBuilderProcessor
,SerializerBuilderProcessor
,SerializerFactoryProcessor
,ServiceFailurePolicyProcessor
,SimpleBuilderProcessor
,SpecificInstanceProcessor
,StorageAccessAuthorizerBuilderProcessor
A
ConditionalElementProcessor
is an ElementProcessor
that supports conditionally
processing XmlElement
s. Unlike a regular ElementProcessor
, when a ProcessingContext
encounters a ConditionalElementProcessor
, it will first query the said processor to
determine if it should process an XmlElement
.- Since:
- Coherence 12.1.2
- Author:
- bo 2013.09.14
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accepts
(ProcessingContext context, XmlElement xmlElement) Determines if the specifiedXmlElement
should be processed.Methods inherited from interface com.tangosol.config.xml.ElementProcessor
process
-
Method Details
-
accepts
Determines if the specifiedXmlElement
should be processed.- Parameters:
context
- theProcessingContext
in which theXmlElement
is being processedxmlElement
- theXmlElement
that would be processed- Returns:
true
if theXmlElement
should be processed- Throws:
ConfigurationException
- when a configuration problem was encountered
-