Package com.tangosol.config.xml
Class SimpleAttributeProcessor<T>
- java.lang.Object
 - 
- com.tangosol.config.xml.SimpleAttributeProcessor<T>
 
 
- 
- All Implemented Interfaces:
 AttributeProcessor<T>
public class SimpleAttributeProcessor<T> extends Object implements AttributeProcessor<T>
ASimpleAttributeProcessoris a simpleAttributeProcessorimplementation that will construct, initialize (via constructor injection) and return a specific type of object based on information in anXmlAttribute.- Since:
 - Coherence 12.1.2
 - Author:
 - dr 2011.05.14, bo 2011.06.22
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SimpleAttributeProcessor(Class<T> clzAttribute)Construct aSimpleAttributeProcessor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tprocess(ProcessingContext context, XmlAttribute attribute)Process anXmlAttributeand return a specific type of value. 
 - 
 
- 
- 
Constructor Detail
- 
SimpleAttributeProcessor
public SimpleAttributeProcessor(Class<T> clzAttribute)
Construct aSimpleAttributeProcessor.- Parameters:
 clzAttribute- theClassof the attribute value to be returned
 
 - 
 
- 
Method Detail
- 
process
public T process(ProcessingContext context, XmlAttribute attribute) throws ConfigurationException
Process anXmlAttributeand return a specific type of value.- Specified by:
 processin interfaceAttributeProcessor<T>- Parameters:
 context- theProcessingContextin which theXmlAttributeis being processedattribute- theXmlAttributeto be processed- Returns:
 - a value of type T
 - Throws:
 ConfigurationException- when a configuration problem was encountered
 
 - 
 
 -