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