org.objectweb.perseus.cache.api

Interface CacheEntryFactory

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(Object id, Object obj)
Creates a CacheEntry, given the object and its corresponding object identifier.

Method Details

create

public FixableCacheEntry create(Object id,
                                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.