org.objectweb.perseus.cache.api
Interface CacheEntryFactory

All Known Implementing Classes:
BasicCacheEntryFactory

public interface CacheEntryFactory

Interface for the CacheEntry factory (see GoF's Abstract Factory pattern.)

Author:
Luciano Garcia-Banuelos (Luciano.Garcia@imag.fr)

Method Summary
 FixableCacheEntry create(java.lang.Object id, java.lang.Object obj)
          Creates a CacheEntry, given the object and its corresponding object identifier.
 

Method Detail

create

public FixableCacheEntry create(java.lang.Object id,
                                java.lang.Object obj)
Creates a CacheEntry, given the object and its corresponding object identifier.

Parameters:
id - is the object identifier.
obj - is the object held in a cache.


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.