Interface PersistenceContextAwareClassGenerator

All Known Implementing Classes:
EntityReferenceProxyGenerator, LazyLoadingEntityProxyGenerator, ManageableClassGenerator

public interface PersistenceContextAwareClassGenerator
Generates classes corresponding to entity classes, but able to be connected to a persistence context.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Class<? extends T>
    generate(Class<T> entityClass)
    Generates a class extending the specified entityClass but able to be connected to a persistence context.
  • Method Details

    • generate

      <T> Class<? extends T> generate(Class<T> entityClass)
      Generates a class extending the specified entityClass but able to be connected to a persistence context.
      Type Parameters:
      T - Entity type
      Parameters:
      entityClass - Entity class for which to generate the subclass
      Returns:
      Entity class subtype