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
public interface ConditionalElementProcessor<T> extends ElementProcessor<T>
AConditionalElementProcessoris anElementProcessorthat supports conditionally processingXmlElements. Unlike a regularElementProcessor, when aProcessingContextencounters aConditionalElementProcessor, it will first query the said processor to determine if it should process anXmlElement.- Since:
- Coherence 12.1.2
- Author:
- bo 2013.09.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccepts(ProcessingContext context, XmlElement xmlElement)Determines if the specifiedXmlElementshould be processed.-
Methods inherited from interface com.tangosol.config.xml.ElementProcessor
process
-
-
-
-
Method Detail
-
accepts
boolean accepts(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
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
-
-