Class EnhancerTestContext
java.lang.Object
org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
org.hibernate.testing.bytecode.enhancement.EnhancerTestContext
- All Implemented Interfaces:
org.hibernate.bytecode.enhance.spi.EnhancementContext
,org.hibernate.bytecode.enhance.spi.EnhancementOptions
public class EnhancerTestContext
extends org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
Enhancement context used in tests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
doBiDirectionalAssociationManagement
(org.hibernate.bytecode.enhance.spi.UnloadedField field) boolean
doDirtyCheckingInline
(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor) boolean
doExtendedEnhancement
(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor) boolean
hasLazyLoadableAttributes
(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor) boolean
isLazyLoadable
(org.hibernate.bytecode.enhance.spi.UnloadedField field) Methods inherited from class org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
getLoadingClassLoader, isCompositeClass, isDiscoveredType, isEntityClass, isMappedCollection, isMappedSuperclassClass, isPersistentField, order, registerDiscoveredType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.bytecode.enhance.spi.EnhancementContext
getBytecodeProvider, getUnsupportedEnhancementStrategy
Methods inherited from interface org.hibernate.bytecode.enhance.spi.EnhancementOptions
doBiDirectionalAssociationManagement, doDirtyCheckingInline, doExtendedEnhancement
-
Constructor Details
-
EnhancerTestContext
public EnhancerTestContext()
-
-
Method Details
-
doBiDirectionalAssociationManagement
public boolean doBiDirectionalAssociationManagement(org.hibernate.bytecode.enhance.spi.UnloadedField field) - Specified by:
doBiDirectionalAssociationManagement
in interfaceorg.hibernate.bytecode.enhance.spi.EnhancementOptions
- Overrides:
doBiDirectionalAssociationManagement
in classorg.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
-
doDirtyCheckingInline
public boolean doDirtyCheckingInline(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor) - Specified by:
doDirtyCheckingInline
in interfaceorg.hibernate.bytecode.enhance.spi.EnhancementOptions
- Overrides:
doDirtyCheckingInline
in classorg.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
-
doExtendedEnhancement
public boolean doExtendedEnhancement(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor) - Specified by:
doExtendedEnhancement
in interfaceorg.hibernate.bytecode.enhance.spi.EnhancementOptions
- Overrides:
doExtendedEnhancement
in classorg.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
-
hasLazyLoadableAttributes
public boolean hasLazyLoadableAttributes(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor) - Specified by:
hasLazyLoadableAttributes
in interfaceorg.hibernate.bytecode.enhance.spi.EnhancementContext
- Overrides:
hasLazyLoadableAttributes
in classorg.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
-
isLazyLoadable
public boolean isLazyLoadable(org.hibernate.bytecode.enhance.spi.UnloadedField field) - Specified by:
isLazyLoadable
in interfaceorg.hibernate.bytecode.enhance.spi.EnhancementContext
- Overrides:
isLazyLoadable
in classorg.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
-