org.apache.jetspeed.components.portletregistry
Class RegistryApplicationCache
java.lang.Object
org.apache.jetspeed.components.portletregistry.RegistryApplicationCache
- All Implemented Interfaces:
- org.apache.ojb.broker.cache.ObjectCache
public class RegistryApplicationCache
- extends java.lang.Object
- implements org.apache.ojb.broker.cache.ObjectCache
OJB cache
- Author:
- dtaylor
Constructor Summary |
RegistryApplicationCache(org.apache.ojb.broker.PersistenceBroker broker,
java.util.Properties props)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryApplicationCache
public RegistryApplicationCache(org.apache.ojb.broker.PersistenceBroker broker,
java.util.Properties props)
cacheInit
public static void cacheInit(PortletRegistry r,
JetspeedCache o,
JetspeedCache n,
java.util.List l)
lookup
public java.lang.Object lookup(org.apache.ojb.broker.Identity oid)
- Specified by:
lookup
in interface org.apache.ojb.broker.cache.ObjectCache
cacheLookup
public static java.lang.Object cacheLookup(org.apache.ojb.broker.Identity oid)
cache
public void cache(org.apache.ojb.broker.Identity oid,
java.lang.Object obj)
- Specified by:
cache
in interface org.apache.ojb.broker.cache.ObjectCache
cacheAdd
public static void cacheAdd(org.apache.ojb.broker.Identity oid,
java.lang.Object obj)
clear
public void clear()
- Specified by:
clear
in interface org.apache.ojb.broker.cache.ObjectCache
cacheClear
public static void cacheClear()
remove
public void remove(org.apache.ojb.broker.Identity oid)
- Specified by:
remove
in interface org.apache.ojb.broker.cache.ObjectCache
cacheRemove
public static void cacheRemove(org.apache.ojb.broker.Identity oid)
- cacheRemove
Remove identified object from object and node caches.
- Parameters:
oid
- object identity
cacheRemoveQuiet
public static void cacheRemoveQuiet(java.lang.String key,
RegistryCacheObjectWrapper w)
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.