org.apache.openjpa.enhance.stats
Class FetchStatisticsAuxEnhancer

java.lang.Object
  extended by org.apache.openjpa.enhance.stats.FetchStatisticsAuxEnhancer
All Implemented Interfaces:
PCEnhancer.AuxiliaryEnhancer

public class FetchStatisticsAuxEnhancer
extends Object
implements PCEnhancer.AuxiliaryEnhancer

FetchStatisticsAuxEnhancer adds the call back function to each persistent fields in the persistent entity which will invoke the hit method from FetchStatsCollector whenever the field is fetched at runtime.


Constructor Summary
FetchStatisticsAuxEnhancer()
           
 
Method Summary
 void run(serp.bytecode.BCClass bcc, ClassMetaData cmd)
           
 boolean skipEnhance(serp.bytecode.BCMethod arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchStatisticsAuxEnhancer

public FetchStatisticsAuxEnhancer()
Method Detail

run

public void run(serp.bytecode.BCClass bcc,
                ClassMetaData cmd)
Specified by:
run in interface PCEnhancer.AuxiliaryEnhancer

skipEnhance

public boolean skipEnhance(serp.bytecode.BCMethod arg0)
Specified by:
skipEnhance in interface PCEnhancer.AuxiliaryEnhancer


Copyright © 2006–2013 Apache Software Foundation. All rights reserved.