Class ServiceBuilderProcessor<T extends ServiceBuilder>
java.lang.Object
com.tangosol.coherence.config.xml.processor.ServiceBuilderProcessor<T>
- All Implemented Interfaces:
ElementProcessor<T>
- Direct Known Subclasses:
PagedTopicSchemeProcessor
public class ServiceBuilderProcessor<T extends ServiceBuilder>
extends Object
implements ElementProcessor<T>
A
ServiceBuilderProcessor
is an ElementProcessor
responsible for producing various kinds of
ServiceBuilder
s.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.11.30
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
Instantiate the required class to inject and return.process
(ProcessingContext context, XmlElement element) Process anXmlElement
to return a specific type of value.
-
Constructor Details
-
ServiceBuilderProcessor
- Parameters:
clzToRealize
- the class that will be instantiated, injected and returned during processing
-
-
Method Details
-
process
Process anXmlElement
to return a specific type of value.- Specified by:
process
in interfaceElementProcessor<T extends ServiceBuilder>
- Parameters:
context
- theProcessingContext
in which theXmlElement
is being processedelement
- theXmlElement
to 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
-