FileDocCategorySizeDatePackage
JavassistHelper.javaAPI DocHibernate 3.2.5865Thu Aug 03 15:35:26 BST 2006org.hibernate.intercept.javassist

JavassistHelper

public class JavassistHelper extends Object
author
Steve Ebersole

Fields Summary
Constructors Summary
private JavassistHelper()

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

		return ( FieldInterceptor ) ( ( FieldHandled ) entity ).getFieldHandler();
	
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 );
		( ( FieldHandled ) entity ).setFieldHandler( fieldInterceptor );
		return fieldInterceptor;