it.biobytes.ammentos.cache
Class FrameworkCache

java.lang.Object
  extended by it.biobytes.ammentos.cache.FrameworkCache

public class FrameworkCache
extends java.lang.Object

Author:
davide

Constructor Summary
FrameworkCache()
          Creates a new instance of FrameworkCache
 
Method Summary
<T> T
lookup(java.lang.Class<T> c, java.lang.Object primaryKey)
           
 void remove(java.lang.Object obj)
           
<T> void
store(T obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameworkCache

public FrameworkCache()
Creates a new instance of FrameworkCache

Method Detail

lookup

public <T> T lookup(java.lang.Class<T> c,
                    java.lang.Object primaryKey)

store

public <T> void store(T obj)
           throws PersistenceException
Throws:
PersistenceException

remove

public void remove(java.lang.Object obj)
            throws PersistenceException
Throws:
PersistenceException