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
public interface ConditionalElementProcessor<T> extends ElementProcessor<T>
AConditionalElementProcessor
is anElementProcessor
that supports conditionally processingXmlElement
s. Unlike a regularElementProcessor
, when aProcessingContext
encounters 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 boolean
accepts(ProcessingContext context, XmlElement xmlElement)
Determines if the specifiedXmlElement
should 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 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
-
-