Package org.kuali.rice.krad.util
Class KualiObjectCachePerBrokerImpl
- java.lang.Object
-
- org.apache.ojb.broker.cache.ObjectCachePerBrokerImpl
-
- org.kuali.rice.krad.util.KualiObjectCachePerBrokerImpl
-
- All Implemented Interfaces:
org.apache.ojb.broker.cache.ObjectCache,org.apache.ojb.broker.PBListener,org.apache.ojb.broker.PBStateListener
public class KualiObjectCachePerBrokerImpl extends org.apache.ojb.broker.cache.ObjectCachePerBrokerImpl
-
-
Constructor Summary
Constructors Constructor Description KualiObjectCachePerBrokerImpl(org.apache.ojb.broker.PersistenceBroker broker, Properties prop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcache(org.apache.ojb.broker.Identity oid, Object obj)booleancacheIfNew(org.apache.ojb.broker.Identity oid, Object obj)voidclear()Clear ObjectCache.Objectlookup(org.apache.ojb.broker.Identity oid)
-
-
-
Constructor Detail
-
KualiObjectCachePerBrokerImpl
public KualiObjectCachePerBrokerImpl(org.apache.ojb.broker.PersistenceBroker broker, Properties prop)
-
-
Method Detail
-
clear
public void clear()
Clear ObjectCache. I.e. remove all entries for classes and objects.- Specified by:
clearin interfaceorg.apache.ojb.broker.cache.ObjectCache- Overrides:
clearin classorg.apache.ojb.broker.cache.ObjectCachePerBrokerImpl
-
cache
public void cache(org.apache.ojb.broker.Identity oid, Object obj)- Specified by:
cachein interfaceorg.apache.ojb.broker.cache.ObjectCache- Overrides:
cachein classorg.apache.ojb.broker.cache.ObjectCachePerBrokerImpl- See Also:
ObjectCachePerBrokerImpl.cache(org.apache.ojb.broker.Identity, java.lang.Object)
-
cacheIfNew
public boolean cacheIfNew(org.apache.ojb.broker.Identity oid, Object obj)- Overrides:
cacheIfNewin classorg.apache.ojb.broker.cache.ObjectCachePerBrokerImpl- See Also:
ObjectCachePerBrokerImpl.cacheIfNew(org.apache.ojb.broker.Identity, java.lang.Object)
-
lookup
public Object lookup(org.apache.ojb.broker.Identity oid)
- Specified by:
lookupin interfaceorg.apache.ojb.broker.cache.ObjectCache- Overrides:
lookupin classorg.apache.ojb.broker.cache.ObjectCachePerBrokerImpl- See Also:
ObjectCachePerBrokerImpl.lookup(org.apache.ojb.broker.Identity)
-
-