Class EnhancerTestContext

  • All Implemented Interfaces:
    org.hibernate.bytecode.enhance.spi.EnhancementContext

    public class EnhancerTestContext
    extends org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
    Enhancement context used in tests
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean 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, isEntityClass, isMappedCollection, isMappedSuperclassClass, isPersistentField, order
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnhancerTestContext

        public EnhancerTestContext()
    • Method Detail

      • doBiDirectionalAssociationManagement

        public boolean doBiDirectionalAssociationManagement​(org.hibernate.bytecode.enhance.spi.UnloadedField field)
        Specified by:
        doBiDirectionalAssociationManagement in interface org.hibernate.bytecode.enhance.spi.EnhancementContext
        Overrides:
        doBiDirectionalAssociationManagement in class org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
      • doDirtyCheckingInline

        public boolean doDirtyCheckingInline​(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor)
        Specified by:
        doDirtyCheckingInline in interface org.hibernate.bytecode.enhance.spi.EnhancementContext
        Overrides:
        doDirtyCheckingInline in class org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
      • doExtendedEnhancement

        public boolean doExtendedEnhancement​(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor)
        Specified by:
        doExtendedEnhancement in interface org.hibernate.bytecode.enhance.spi.EnhancementContext
        Overrides:
        doExtendedEnhancement in class org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
      • hasLazyLoadableAttributes

        public boolean hasLazyLoadableAttributes​(org.hibernate.bytecode.enhance.spi.UnloadedClass classDescriptor)
        Specified by:
        hasLazyLoadableAttributes in interface org.hibernate.bytecode.enhance.spi.EnhancementContext
        Overrides:
        hasLazyLoadableAttributes in class org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext
      • isLazyLoadable

        public boolean isLazyLoadable​(org.hibernate.bytecode.enhance.spi.UnloadedField field)
        Specified by:
        isLazyLoadable in interface org.hibernate.bytecode.enhance.spi.EnhancementContext
        Overrides:
        isLazyLoadable in class org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext