1 package org.hibernate.proxy; 3 4 import java.io.Serializable ; 5 import java.lang.reflect.Method ; 6 import java.util.Set ; 7 8 import org.hibernate.HibernateException; 9 import org.hibernate.engine.SessionImplementor; 10 import org.hibernate.type.AbstractComponentType; 11 12 15 public interface ProxyFactory { 16 17 20 public void postInstantiate( 21 String entityName, 22 Class persistentClass, 23 Set interfaces, 24 Method getIdentifierMethod, 25 Method setIdentifierMethod, 26 AbstractComponentType componentIdType 27 ) throws HibernateException; 28 29 32 public HibernateProxy getProxy( 33 Serializable id, 34 SessionImplementor session 35 ) throws HibernateException; 36 37 } 38 | Popular Tags |