org.apache.openjpa.datacache
Class DataCachePCDataGenerator
java.lang.Object
org.apache.openjpa.enhance.DynamicStorageGenerator
org.apache.openjpa.enhance.PCDataGenerator
org.apache.openjpa.datacache.DataCachePCDataGenerator
public class DataCachePCDataGenerator
- extends PCDataGenerator
A PCDataGenerator
instance which generates properly
synchronized instances suitable for use in the cache. In addition,
proper timed behavior is added.
- Since:
- 0.3.3.0
- Author:
- Steve Kim
Methods inherited from class org.apache.openjpa.enhance.PCDataGenerator |
addVersionMethods, callAbstractPCData, declareClasses, decorate, generatePCData, getClassName, getConfiguration, getCreateFieldMethods, replaceType, setTarget, usesImplData, usesImplData, usesIntermediate |
Methods inherited from class org.apache.openjpa.enhance.DynamicStorageGenerator |
addBeanField, createFactory, forType, generateStorage, getFieldAccess, getFieldName, getWrapper, getWrapper, isCompatible, replaceMethod, throwException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POSTFIX
public static final String POSTFIX
- See Also:
- Constant Field Values
DataCachePCDataGenerator
public DataCachePCDataGenerator(OpenJPAConfiguration conf)
getUniqueName
protected String getUniqueName(Class type)
- Description copied from class:
PCDataGenerator
- Creates a unique name for the given type's pcdata implementation.
- Overrides:
getUniqueName
in class PCDataGenerator
finish
protected void finish(PCDataGenerator.DynamicPCData data,
ClassMetaData meta)
- Description copied from class:
PCDataGenerator
- Perform any final actions before the pcdata is returned to client code.
- Overrides:
finish
in class PCDataGenerator
decorate
protected void decorate(serp.bytecode.BCClass bc,
ClassMetaData meta)
- Description copied from class:
PCDataGenerator
- Apply additional decoration to generated class.
- Overrides:
decorate
in class PCDataGenerator
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.