Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.config.xml
Class SimpleAttributeProcessor

java.lang.Object
  extended by com.tangosol.config.xml.SimpleAttributeProcessor

All Implemented Interfaces:
AttributeProcessor

public class SimpleAttributeProcessor
extends java.lang.Object
implements AttributeProcessor

A SimpleAttributeProcessor is a simple AttributeProcessor implementation that will construct, initialize (via constructor injection) and return a specific type of object based on information in an XmlAttribute.

Since:
Coherence 12.1.2
Author:
dr 2011.05.14, bo 2011.06.22

Constructor Summary
SimpleAttributeProcessor(java.lang.Class clzAttribute)
          Construct a SimpleAttributeProcessor.

 

Method Summary
 java.lang.Object process(ProcessingContext context, XmlAttribute attribute)
          Process an XmlAttribute and return a specific type of value.

 

Constructor Detail

SimpleAttributeProcessor

public SimpleAttributeProcessor(java.lang.Class clzAttribute)
Construct a SimpleAttributeProcessor.
Parameters:
clzAttribute - the Class of the attribute value to be returned

Method Detail

process

public java.lang.Object process(ProcessingContext context,
                                XmlAttribute attribute)
                         throws ConfigurationException
Process an XmlAttribute and return a specific type of value.
Specified by:
process in interface AttributeProcessor
Parameters:
context - the ProcessingContext in which the XmlAttribute is being processed
attribute - the XmlAttribute to be processed
Returns:
a value of type T
Throws:
ConfigurationException - when a configuration problem was encountered

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.