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>
AServiceBuilderProcessor
is anElementProcessor
responsible for producing various kinds ofServiceBuilder
s.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.11.30
-
-
Constructor Summary
Constructors Constructor Description ServiceBuilderProcessor(Class<T> clzToRealize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
instantiate()
Instantiate the required class to inject and return.T
process(ProcessingContext context, XmlElement element)
Process anXmlElement
to return a specific type of value.
-
-
-
Method Detail
-
process
public T process(ProcessingContext context, XmlElement element) throws ConfigurationException
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
protected T instantiate()
Instantiate the required class to inject and return.- Returns:
- object to be injected
-
-