org.neodatis.odb.impl.core.transaction
Class CacheFactory

java.lang.Object
  extended by org.neodatis.odb.impl.core.transaction.CacheFactory

public class CacheFactory
extends java.lang.Object


Constructor Summary
CacheFactory()
           
 
Method Summary
static ICrossSessionCache getCrossSessionCache(java.lang.String identification)
          This factory method returns an implementation of ICrossSessionCache to take over the objects across the sessions.
static ICache getLocalCache(ISession session, java.lang.String name)
           
static ITmpCache getLocalTmpCache(ISession session, java.lang.String name)
           
static ICache getServerCache(ISession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheFactory

public CacheFactory()
Method Detail

getLocalCache

public static ICache getLocalCache(ISession session,
                                   java.lang.String name)

getLocalTmpCache

public static ITmpCache getLocalTmpCache(ISession session,
                                         java.lang.String name)

getServerCache

public static ICache getServerCache(ISession session)

getCrossSessionCache

public static ICrossSessionCache getCrossSessionCache(java.lang.String identification)
This factory method returns an implementation of ICrossSessionCache to take over the objects across the sessions.

Parameters:
identification - TODO
Returns:
ICrossSessionCache