org.objectweb.perseus.cache.lib
Class BasicCacheEntryFactory

java.lang.Object
  extended byorg.objectweb.perseus.cache.lib.BasicCacheEntryFactory
All 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

Constructor Summary
BasicCacheEntryFactory()
           
 
Method Summary
 FixableCacheEntry create(java.lang.Object id, java.lang.Object obj)
          Creates a CacheEntry, given the object and its corresponding object identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicCacheEntryFactory

public BasicCacheEntryFactory()
Method Detail

create

public FixableCacheEntry create(java.lang.Object id,
                                java.lang.Object obj)
Description copied from interface: CacheEntryFactory
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.