Class ProxyFactoryHelper

java.lang.Object
org.hibernate.proxy.pojo.ProxyFactoryHelper

public final class ProxyFactoryHelper extends Object
Most of this code was originally an internal detail of PojoEntityTuplizer, then extracted to make it easier for integrators to initialize a custom ProxyFactory.
  • Method Details

    • extractProxyInterfaces

      public static Set<Class<?>> extractProxyInterfaces(PersistentClass persistentClass, String entityName)
    • validateProxyability

      public static void validateProxyability(PersistentClass persistentClass)
    • validateGetterSetterMethodProxyability

      public static void validateGetterSetterMethodProxyability(String getterOrSetter, Method method)
    • extractProxySetIdentifierMethod

      public static Method extractProxySetIdentifierMethod(Setter idSetter, Class<?> proxyInterface)
    • extractProxyGetIdentifierMethod

      public static Method extractProxyGetIdentifierMethod(Getter idGetter, Class<?> proxyInterface)