org.apache.jetspeed.components.portletregistry
Class RegistryPortletCache
java.lang.Object
org.apache.jetspeed.components.portletregistry.RegistryPortletCache
- All Implemented Interfaces:
- org.apache.ojb.broker.cache.ObjectCache
public class RegistryPortletCache
- extends Object
- implements org.apache.ojb.broker.cache.ObjectCache
OJB cache
- Author:
- dtaylor
Field Summary |
private static List |
listeners
|
private static org.apache.jetspeed.cache.JetspeedCache |
nameCache
|
private static org.apache.jetspeed.cache.JetspeedCache |
oidCache
|
private static org.apache.jetspeed.components.portletregistry.PortletRegistry |
registry
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oidCache
private static org.apache.jetspeed.cache.JetspeedCache oidCache
nameCache
private static org.apache.jetspeed.cache.JetspeedCache nameCache
registry
private static org.apache.jetspeed.components.portletregistry.PortletRegistry registry
listeners
private static List listeners
RegistryPortletCache
public RegistryPortletCache(org.apache.ojb.broker.PersistenceBroker broker,
Properties props)
cacheInit
public static void cacheInit(org.apache.jetspeed.components.portletregistry.PortletRegistry r,
org.apache.jetspeed.cache.JetspeedCache o,
org.apache.jetspeed.cache.JetspeedCache n,
List l)
lookup
public Object lookup(org.apache.ojb.broker.Identity oid)
- Specified by:
lookup
in interface org.apache.ojb.broker.cache.ObjectCache
cacheLookup
public static Object cacheLookup(org.apache.ojb.broker.Identity oid)
cache
public void cache(org.apache.ojb.broker.Identity oid,
Object obj)
- Specified by:
cache
in interface org.apache.ojb.broker.cache.ObjectCache
cacheAdd
public static void cacheAdd(org.apache.ojb.broker.Identity oid,
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(String key,
RegistryCacheObjectWrapper w)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.