Class TCPAcceptorPreprocessor
- java.lang.Object
-
- com.tangosol.coherence.config.xml.preprocessor.TCPAcceptorPreprocessor
-
- All Implemented Interfaces:
DocumentElementPreprocessor.ElementPreprocessor
public class TCPAcceptorPreprocessor extends Object implements DocumentElementPreprocessor.ElementPreprocessor
ATCPAcceptorPreprocessor
is anDocumentElementPreprocessor.ElementPreprocessor
that introduces re-writes <tcp-acceptor> configuration elements, in particular <local-address> declarations into an <address-provider> containing a <local-address>.- Since:
- Coherence 12.1.3
- Author:
- bko 2013.07.03
-
-
Constructor Summary
Constructors Constructor Description TCPAcceptorPreprocessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
preprocess(ProcessingContext context, XmlElement xmlElement)
Process anXmlElement
, optionally mutating it (or it's children) if required.
-
-
-
Method Detail
-
preprocess
public boolean preprocess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
Process anXmlElement
, optionally mutating it (or it's children) if required.Note: An implementation of this interface should avoid attempting to traverse child
XmlElement
s. If you wish to manually traverse or change the entire document, you should instead use aDocumentPreprocessor
.- Specified by:
preprocess
in interfaceDocumentElementPreprocessor.ElementPreprocessor
- Parameters:
context
- theProcessingContext
in which the pre-processing is occurringxmlElement
- theXmlElement
to preprocess- Returns:
true
if the specifiedXmlElement
should be re-preprocessed by this and otherDocumentElementPreprocessor.ElementPreprocessor
s due to theXmlElement
being modified,false
otherwise.- Throws:
ConfigurationException
- if during pre-processing of theXmlElement
a configuration issue was discovered (or if pre-processing fails for some reason)
-
-