|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.transaction.TransactionAwareAttributeExtractor
public class TransactionAwareAttributeExtractor
Used to extract a search attribute value from an element in a transactional store.
| Constructor Summary | |
|---|---|
TransactionAwareAttributeExtractor(ReadWriteCopyStrategy<Element> copyStrategy,
AttributeExtractor delegate)
Creates an attributed delegating to the supplied extractor, via the given copy strategy. |
|
| Method Summary | |
|---|---|
java.lang.Object |
attributeFor(Element element,
java.lang.String attributeName)
Extract the attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionAwareAttributeExtractor(ReadWriteCopyStrategy<Element> copyStrategy,
AttributeExtractor delegate)
copyStrategy - copy strategy used by the transactional storedelegate - original configured attribute extractor| Method Detail |
|---|
public java.lang.Object attributeFor(Element element,
java.lang.String attributeName)
throws AttributeExtractorException
attributeFor in interface AttributeExtractorelement - the cache element to inspectattributeName - the name of the requested attribute
AttributeExtractorException - if the attribute cannot be found or extracted
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||