Class CustomizableBuilderProcessor<T>
java.lang.Object
com.tangosol.coherence.config.xml.processor.CustomizableBuilderProcessor<T>
- All Implemented Interfaces:
ElementProcessor<T>
- Direct Known Subclasses:
CompositeSchemeProcessor,CustomizableBinaryStoreManagerBuilderProcessor,InterceptorProcessor
A
CustomizableBuilderProcessor is a multi-purpose ElementProcessor
responsible for processing xml elements that produce objects supporting BuilderCustomization.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.11.30, bo 2012.02.09
-
Constructor Summary
ConstructorsConstructorDescriptionCustomizableBuilderProcessor(Class<T> clzToRealize) Constructs aCustomizableBuilderProcessorfor the specifiedClass. -
Method Summary
Modifier and TypeMethodDescriptionprotected TInstantiate the required class to inject and return.process(ProcessingContext context, XmlElement element) Process anXmlElementto return a specific type of value.
-
Constructor Details
-
CustomizableBuilderProcessor
Constructs aCustomizableBuilderProcessorfor the specifiedClass.- Parameters:
clzToRealize- the class that will be instantiated, injected and returned during processing
-
-
Method Details
-
process
Process anXmlElementto return a specific type of value.- Specified by:
processin interfaceElementProcessor<T>- Parameters:
context- theProcessingContextin which theXmlElementis being processedelement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-
instantiate
Instantiate the required class to inject and return.- Returns:
- object to be injected
-