org.objectweb.perseus.cache.lib

Class BasicCacheEntryFactory

Implemented Interfaces:
CacheEntryFactory

public class BasicCacheEntryFactory
extends java.lang.Object
implements CacheEntryFactory

This class is the default implementation of the CacheEntryFactory interface.

Author:
S.Chassande-Barrioz

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.
Specified by:
create in interface CacheEntryFactory

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.