User: simone
Date: 00/12/12 01:48:52
Added: src/main/org/jboss/ejb EntityCache.java
Log:
New name of EntityInstanceCache, to avoid name clash with another class.
Revision Changes Path
1.1 jboss/src/main/org/jboss/ejb/EntityCache.java
Index: EntityCache.java
===================================================================
package org.jboss.ejb;
/*
* JBoss, the OpenSource EJB server
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
import java.rmi.RemoteException;
import javax.ejb.NoSuchEntityException;
/**
* EntityCaches can work from several keys
*
* A cache can use the natural primaryKey from the EJBObject, or DB dependent
* keys or a proprietary key
*
* @see EntityInstanceCache
* @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
* @version $Revision: 1.1 $
*/
public interface EntityCache
extends InstanceCache
{
/**
* Returns the key used to cache the context
*
* @param id Object id / primary key
*
* @return Cache key
*/
public Object createCacheKey( Object id );
}