Package org.hibernate.proxy.pojo
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 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 Method
extractProxyGetIdentifierMethod(Getter idGetter, Class<?> proxyInterface)
static Set<Class<?>>
extractProxyInterfaces(PersistentClass persistentClass, String entityName)
static Method
extractProxySetIdentifierMethod(Setter idSetter, Class<?> proxyInterface)
static void
validateGetterSetterMethodProxyability(String getterOrSetter, Method method)
static void
validateProxyability(PersistentClass persistentClass)
-
-
-
Method Detail
-
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)
-
-