org.apache.jetspeed.components.portletregistry
Class RegistryCacheObjectWrapper

java.lang.Object
  extended by org.apache.jetspeed.components.portletregistry.RegistryCacheObjectWrapper
All Implemented Interfaces:
Serializable, org.apache.jetspeed.cache.DistributedCacheObject

public class RegistryCacheObjectWrapper
extends Object
implements org.apache.jetspeed.cache.DistributedCacheObject

OJB cache

Author:
dtaylor
See Also:
Serialized Form

Field Summary
(package private)  org.apache.ojb.broker.Identity id
           
(package private)  String key
           
private static long serialVersionUID
          The serial uid.
 
Constructor Summary
RegistryCacheObjectWrapper(org.apache.ojb.broker.Identity id, String key)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheKey()
           
 org.apache.ojb.broker.Identity getId()
           
 String getKey()
           
 int hashCode()
           
 void notifyChange(int action)
           
 void setIdentity(org.apache.ojb.broker.Identity id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serial uid.

See Also:
Constant Field Values

id

org.apache.ojb.broker.Identity id

key

String key
Constructor Detail

RegistryCacheObjectWrapper

public RegistryCacheObjectWrapper(org.apache.ojb.broker.Identity id,
                                  String key)
Method Detail

getId

public org.apache.ojb.broker.Identity getId()

setIdentity

public void setIdentity(org.apache.ojb.broker.Identity id)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getCacheKey

public String getCacheKey()

getKey

public String getKey()

notifyChange

public void notifyChange(int action)
Specified by:
notifyChange in interface org.apache.jetspeed.cache.DistributedCacheObject


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.