Class PersistenceProcessor
java.lang.Object
com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor<com.tangosol.internal.net.service.grid.PersistenceDependencies>
com.tangosol.coherence.config.xml.processor.PersistenceProcessor
- All Implemented Interfaces:
ConditionalElementProcessor<com.tangosol.internal.net.service.grid.PersistenceDependencies>
,ElementProcessor<com.tangosol.internal.net.service.grid.PersistenceDependencies>
@XmlSimpleName("persistence")
public class PersistenceProcessor
extends AbstractEmptyElementProcessor<com.tangosol.internal.net.service.grid.PersistenceDependencies>
An
ElementProcessor
that will parse a <persistence> element to
produce a PersistenceDependencies
instance.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.03.12
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
AbstractEmptyElementProcessor.EmptyElementBehavior
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.tangosol.internal.net.service.grid.PersistenceDependencies
onProcess
(ProcessingContext context, XmlElement xmlElement) Process anXmlElement
to return a specific type of value.Methods inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
accepts, isEmptyElement, process
-
Constructor Details
-
PersistenceProcessor
public PersistenceProcessor()Constructs aPersistenceProcessor
.
-
-
Method Details
-
onProcess
public com.tangosol.internal.net.service.grid.PersistenceDependencies onProcess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException Description copied from class:AbstractEmptyElementProcessor
Process anXmlElement
to return a specific type of value.- Specified by:
onProcess
in classAbstractEmptyElementProcessor<com.tangosol.internal.net.service.grid.PersistenceDependencies>
- Parameters:
context
- theProcessingContext
in which theXmlElement
is being processedxmlElement
- theXmlElement
to process- Returns:
- a value of type T
- Throws:
ConfigurationException
- when a configuration problem was encountered
-