Package org.hibernate.proxy.pojo
Class ProxyFactoryHelper
- java.lang.Object
-
- org.hibernate.proxy.pojo.ProxyFactoryHelper
-
public final class ProxyFactoryHelper extends java.lang.Object
Most of this code was originally an internal detail ofPojoEntityTuplizer
, then extracted to make it easier for integrators to initialize a customProxyFactory
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.reflect.Method
extractProxyGetIdentifierMethod(Getter idGetter, java.lang.Class proxyInterface)
static java.util.Set<java.lang.Class>
extractProxyInterfaces(PersistentClass persistentClass, java.lang.String entityName)
static java.lang.reflect.Method
extractProxySetIdentifierMethod(Setter idSetter, java.lang.Class proxyInterface)
static void
validateGetterSetterMethodProxyability(java.lang.String getterOrSetter, java.lang.reflect.Method method)
static void
validateProxyability(PersistentClass persistentClass)
-
-
-
Method Detail
-
extractProxyInterfaces
public static java.util.Set<java.lang.Class> extractProxyInterfaces(PersistentClass persistentClass, java.lang.String entityName)
-
validateProxyability
public static void validateProxyability(PersistentClass persistentClass)
-
validateGetterSetterMethodProxyability
public static void validateGetterSetterMethodProxyability(java.lang.String getterOrSetter, java.lang.reflect.Method method)
-
extractProxySetIdentifierMethod
public static java.lang.reflect.Method extractProxySetIdentifierMethod(Setter idSetter, java.lang.Class proxyInterface)
-
extractProxyGetIdentifierMethod
public static java.lang.reflect.Method extractProxyGetIdentifierMethod(Getter idGetter, java.lang.Class proxyInterface)
-
-