Package com.tangosol.config.xml
Interface ConditionalElementProcessor<T>
- Type Parameters:
T- the type of value that will be returned by theConditionalElementProcessor, should anXmlElementbe 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 XmlElements. 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 TypeMethodDescriptionbooleanaccepts(ProcessingContext context, XmlElement xmlElement) Determines if the specifiedXmlElementshould be processed.Methods inherited from interface com.tangosol.config.xml.ElementProcessor
process
-
Method Details
-
accepts
Determines if the specifiedXmlElementshould be processed.- Parameters:
context- theProcessingContextin which theXmlElementis being processedxmlElement- theXmlElementthat would be processed- Returns:
trueif theXmlElementshould be processed- Throws:
ConfigurationException- when a configuration problem was encountered
-