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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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, 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
  • Constructor Details

    • EnhancerTestContext

      public EnhancerTestContext()
  • Method Details

    • 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