Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.config.xml
Interface ConditionalElementProcessor

All Superinterfaces:
ElementProcessor
All Known Implementing Classes:
AbstractEmptyElementProcessor, MemberListenerProcessor, MemorySizeProcessor, MillisProcessor, PartitionListenerProcessor, PersistenceProcessor, SerializerFactoryProcessor, ServiceFailurePolicyProcessor, SpecificInstanceProcessor

public interface ConditionalElementProcessor
extends ElementProcessor

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
 boolean accepts(ProcessingContext context, XmlElement xmlElement)
          Determines if the specified XmlElement 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 specified XmlElement should be processed.
Parameters:
context - the ProcessingContext in which the XmlElement is being processed
xmlElement - the XmlElement that would be processed
Returns:
true if the XmlElement should be processed
Throws:
ConfigurationException - when a configuration problem was encountered

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.