|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementations of this interface can be used do filter
operations, checks or whatever - before the used ObjectCache
implementation was called.
Note: All implemenation classes need a constructor with
PersistenceBroker
+ ObjectCache
parameter.
Method Summary | |
boolean |
beforeCache(Identity oid,
java.lang.Object obj)
Called before an object was put in cache - If false
was returned the object was not put in cache. |
boolean |
beforeLookup(Identity oid)
Called before an object was looked up in cache - If false
was returned the object was not looked up in cache. |
boolean |
beforeRemove(Identity oid)
Called before an object was removed from cache - If false
was returned the object was not removed from in cache. |
ObjectCache |
getObjectCache()
Returns the underlying ObjectCache implemenation. |
Method Detail |
public boolean beforeCache(Identity oid, java.lang.Object obj)
false
was returned the object was not put in cache.
public boolean beforeLookup(Identity oid)
false
was returned the object was not looked up in cache.
public boolean beforeRemove(Identity oid)
false
was returned the object was not removed from in cache.
public ObjectCache getObjectCache()
ObjectCache
implemenation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |