FileDocCategorySizeDatePackage
CGLIBHelper.javaAPI DocHibernate 3.2.5902Fri Feb 03 15:15:20 GMT 2006org.hibernate.intercept.cglib

CGLIBHelper

public class CGLIBHelper extends Object
author
Steve Ebersole

Fields Summary
Constructors Summary
private CGLIBHelper()

	
Methods Summary
public static org.hibernate.intercept.FieldInterceptorextractFieldInterceptor(java.lang.Object entity)

		return ( FieldInterceptor ) ( ( InterceptFieldEnabled ) entity ).getInterceptFieldCallback();
	
public static org.hibernate.intercept.FieldInterceptorinjectFieldInterceptor(java.lang.Object entity, java.lang.String entityName, java.util.Set uninitializedFieldNames, org.hibernate.engine.SessionImplementor session)

		FieldInterceptorImpl fieldInterceptor = new FieldInterceptorImpl(
				session, uninitializedFieldNames, entityName
		);
		( ( InterceptFieldEnabled ) entity ).setInterceptFieldCallback( fieldInterceptor );
		return fieldInterceptor;