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
    • 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