Class BasicLazyInitializer

java.lang.Object
org.hibernate.proxy.AbstractLazyInitializer
org.hibernate.proxy.pojo.BasicLazyInitializer
All Implemented Interfaces:
LazyInitializer
Direct Known Subclasses:
ByteBuddyInterceptor

public abstract class BasicLazyInitializer extends AbstractLazyInitializer
Lazy initializer for plain Java objects.
  • Field Details

    • INVOKE_IMPLEMENTATION

      protected static final Object INVOKE_IMPLEMENTATION
    • persistentClass

      protected final Class<?> persistentClass
    • getIdentifierMethod

      protected final Method getIdentifierMethod
    • setIdentifierMethod

      protected final Method setIdentifierMethod
    • overridesEquals

      protected final boolean overridesEquals
    • componentIdType

      protected final CompositeType componentIdType
  • Constructor Details

  • Method Details

    • serializableProxy

      protected abstract Object serializableProxy()
    • invoke

      protected final Object invoke(Method method, Object[] args, Object proxy) throws Throwable
      Throws:
      Throwable
    • getPersistentClass

      public final Class<?> getPersistentClass()
      Description copied from interface: LazyInitializer
      Get the actual class of the entity. Generally, LazyInitializer.getEntityName() should be used instead.
      Returns:
      The actual entity class.
    • getImplementationClass

      public Class<?> getImplementationClass()
      Description copied from interface: LazyInitializer
      Get the actual class of the entity, possibly initializing the entity if it has subclasses.
      Returns:
      The actual entity class.