org.apache.jetspeed.components.portletregistry
Class RegistryPortletCache

java.lang.Object
  extended by org.apache.jetspeed.components.portletregistry.RegistryPortletCache
All Implemented Interfaces:
org.apache.ojb.broker.cache.ObjectCache

public class RegistryPortletCache
extends java.lang.Object
implements org.apache.ojb.broker.cache.ObjectCache

OJB cache

Author:
dtaylor

Constructor Summary
RegistryPortletCache(org.apache.ojb.broker.PersistenceBroker broker, java.util.Properties props)
           
 
Method Summary
 void cache(org.apache.ojb.broker.Identity oid, java.lang.Object obj)
           
static void cacheAdd(org.apache.ojb.broker.Identity oid, java.lang.Object obj)
           
static void cacheClear()
           
static void cacheInit(PortletRegistry r, JetspeedCache o, JetspeedCache n, java.util.List l)
           
static java.lang.Object cacheLookup(org.apache.ojb.broker.Identity oid)
           
static void cacheRemove(org.apache.ojb.broker.Identity oid)
          cacheRemove Remove identified object from object and node caches.
static void cacheRemoveQuiet(java.lang.String key, RegistryCacheObjectWrapper w)
           
 void clear()
           
 java.lang.Object lookup(org.apache.ojb.broker.Identity oid)
           
 void remove(org.apache.ojb.broker.Identity oid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryPortletCache

public RegistryPortletCache(org.apache.ojb.broker.PersistenceBroker broker,
                            java.util.Properties props)
Method Detail

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.