public class TransactionAwareAttributeExtractor extends Object implements AttributeExtractor
Constructor and Description |
---|
TransactionAwareAttributeExtractor(ReadWriteCopyStrategy<Element> copyStrategy,
AttributeExtractor delegate)
Creates an attributed delegating to the supplied extractor, via the given copy strategy.
|
public TransactionAwareAttributeExtractor(ReadWriteCopyStrategy<Element> copyStrategy, AttributeExtractor delegate)
copyStrategy
- copy strategy used by the transactional storedelegate
- original configured attribute extractorpublic Object attributeFor(Element element, String attributeName) throws AttributeExtractorException
attributeFor
in interface AttributeExtractor
element
- the cache element to inspectattributeName
- the name of the requested attributeAttributeExtractorException
- if the attribute cannot be found or extractedCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.