KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > loader > entity > UniqueEntityLoader


1 //$Id: UniqueEntityLoader.java,v 1.1 2005/02/13 11:50:06 oneovthafew Exp $
2
package org.hibernate.loader.entity;
3
4 import java.io.Serializable JavaDoc;
5
6 import org.hibernate.HibernateException;
7 import org.hibernate.engine.SessionImplementor;
8
9 /**
10  * Loads entities for a <tt>EntityPersister</tt>
11  * @author Gavin King
12  */

13 public interface UniqueEntityLoader {
14     /**
15      * Load an entity instance. If <tt>optionalObject</tt> is supplied,
16      * load the entity state into the given (uninitialized) object.
17      */

18     public Object JavaDoc load(Serializable JavaDoc id, Object JavaDoc optionalObject, SessionImplementor session) throws HibernateException;
19 }
20
21
22
23
24
25
26
Popular Tags