|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.cache.AbstractMetaCache
org.apache.ojb.broker.cache.CacheFilterRegistry
Field Summary |
Fields inherited from class org.apache.ojb.broker.cache.AbstractMetaCache |
METHOD_CACHE, METHOD_LOOKUP, METHOD_REMOVE |
Constructor Summary | |
CacheFilterRegistry(ObjectCache realCache)
|
Method Summary | |
void |
clear()
clear the ObjectCache. |
ObjectCache |
getCache(Identity oid,
java.lang.Object obj,
int callingMethod)
This method handle all calls against the ObjectCache interface. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.ojb.broker.cache.AbstractMetaCache |
cache, lookup, remove |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CacheFilterRegistry(ObjectCache realCache)
Method Detail |
public ObjectCache getCache(Identity oid, java.lang.Object obj, int callingMethod)
AbstractMetaCache
ObjectCache
interface.
Note: The parameter obj
can be null
- e.g. when
lookup or remove method was called.
getCache
in class AbstractMetaCache
oid
- Identity of the target object.obj
- The target object itself or null
if not available.callingMethod
- Specifies the type of method call against the ObjectCache
interface. AbstractMetaCache.METHOD_CACHE
, AbstractMetaCache.METHOD_LOOKUP
, AbstractMetaCache.METHOD_REMOVE
.
ObjectCache
implementation.public void clear()
ObjectCache
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |