public interface AttributeExtractor extends Serializable
Serializable in order to ensure identical
extractors are used in distributed caches| Modifier and Type | Method and Description |
|---|---|
Object |
attributeFor(Element element,
String attributeName)
Extract the attribute value.
|
Object attributeFor(Element element, String attributeName) throws AttributeExtractorException
element - the cache element to inspectattributeName - the name of the requested attributeAttributeExtractorException - if the attribute cannot be found or extractedCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.