Top Description Fields Constructors Methods
org.hibernate.proxy.pojo

public final Class ProxyFactoryHelper

extends Object
Class Inheritance
Imports
java.lang.reflect.Method, .Modifier, java.util.Iterator, .Set, org.hibernate.HibernateException, .MappingException, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.internal.util.ReflectHelper, org.hibernate.mapping.PersistentClass, .Property, .Subclass, org.hibernate.property.access.spi.Getter, .Setter, org.hibernate.proxy.HibernateProxy, org.hibernate.tuple.entity.PojoEntityTuplizer

Most of this code was originally an internal detail of PojoEntityTuplizer, then extracted to make it easier for integrators to initialize a custom org.hibernate.proxy.ProxyFactory.

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Method
extractProxyGetIdentifierMethod(final Getter idGetter, final Class<T> proxyInterface)

public static Set<Class<T>>
extractProxyInterfaces(final PersistentClass persistentClass, final String entityName)

public static Method
extractProxySetIdentifierMethod(final Setter idSetter, final Class<T> proxyInterface)

public static void
public static void
validateProxyability(final PersistentClass persistentClass)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG

Constructor Detail

ProxyFactoryHelperback to summary
private ProxyFactoryHelper()

Method Detail

extractProxyGetIdentifierMethodback to summary
public static Method extractProxyGetIdentifierMethod(final Getter idGetter, final Class<T> proxyInterface)
extractProxyInterfacesback to summary
public static Set<Class<T>> extractProxyInterfaces(final PersistentClass persistentClass, final String entityName)
extractProxySetIdentifierMethodback to summary
public static Method extractProxySetIdentifierMethod(final Setter idSetter, final Class<T> proxyInterface)
validateGetterSetterMethodProxyabilityback to summary
public static void validateGetterSetterMethodProxyability(String getterOrSetter, Method method)
validateProxyabilityback to summary
public static void validateProxyability(final PersistentClass persistentClass)