|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jso.schema.JSOSchemaCache
Cache used to keep in memory storable classes from JSO schema.
Constructor Summary | |
JSOSchemaCache()
|
Method Summary | |
java.lang.Object |
get(java.lang.Class aClass)
Returns a class' corresponding schema cached data. |
void |
invalidade(java.lang.Class aClass)
Invalidates cached data of a storable class in cache. |
void |
put(java.lang.Class aClass,
java.lang.Object data)
Puts a storable class in cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JSOSchemaCache()
Method Detail |
public void put(java.lang.Class aClass, java.lang.Object data)
put
in interface SchemaCache
aClass
- Storable class to be put in cache.data
- Cached data. May be a StorableClass
or
ClassDescriptor
object.public java.lang.Object get(java.lang.Class aClass)
get
in interface SchemaCache
aClass
- The class to which the corresponding cached data should be
returned.
null
if
there is no data cached.public void invalidade(java.lang.Class aClass)
invalidade
in interface SchemaCache
aClass
- The class to which the corresponding schema cached data should
be invalidated.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |