public class EnhancerTestContext extends DefaultEnhancementContext
Constructor and Description |
---|
EnhancerTestContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
doBiDirectionalAssociationManagement(javassist.CtField field)
Should we manage association of bi-directional persistent attributes for this field?
|
boolean |
doDirtyCheckingInline(javassist.CtClass classDescriptor)
Should we in-line dirty checking for persistent attributes for this class?
|
boolean |
doExtendedEnhancement(javassist.CtClass classDescriptor)
Should we enhance field access to entities from this class?
|
boolean |
hasLazyLoadableAttributes(javassist.CtClass classDescriptor)
Does the given class define any lazy loadable attributes?
|
boolean |
isLazyLoadable(javassist.CtField field)
Determine if a field is lazy loadable.
|
getLoadingClassLoader, isCompositeClass, isEntityClass, isMappedCollection, isMappedSuperclassClass, isPersistentField, order
public boolean doBiDirectionalAssociationManagement(javassist.CtField field)
EnhancementContext
doBiDirectionalAssociationManagement
in interface EnhancementContext
doBiDirectionalAssociationManagement
in class DefaultEnhancementContext
field
- The field to check.public boolean doDirtyCheckingInline(javassist.CtClass classDescriptor)
EnhancementContext
doDirtyCheckingInline
in interface EnhancementContext
doDirtyCheckingInline
in class DefaultEnhancementContext
classDescriptor
- The descriptor of the class to check.public boolean doExtendedEnhancement(javassist.CtClass classDescriptor)
EnhancementContext
doExtendedEnhancement
in interface EnhancementContext
doExtendedEnhancement
in class DefaultEnhancementContext
classDescriptor
- The descriptor of the class to check.public boolean hasLazyLoadableAttributes(javassist.CtClass classDescriptor)
EnhancementContext
hasLazyLoadableAttributes
in interface EnhancementContext
hasLazyLoadableAttributes
in class DefaultEnhancementContext
classDescriptor
- The class to checkpublic boolean isLazyLoadable(javassist.CtField field)
EnhancementContext
isLazyLoadable
in interface EnhancementContext
isLazyLoadable
in class DefaultEnhancementContext
field
- The field to checkCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.