org.granite.clustering
Class TransientReferenceHolder

java.lang.Object
  extended by org.granite.clustering.TransientReferenceHolder
All Implemented Interfaces:
Serializable

public final class TransientReferenceHolder
extends Object
implements Serializable

This class holds a transient reference to the object given to its constructor. When this class is serialized, the reference to the object is lost.

Author:
Franck WOLFF
See Also:
HttpGraniteContext, TransientReference, Serialized Form

Constructor Summary
TransientReferenceHolder(Object object)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object get()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransientReferenceHolder

public TransientReferenceHolder(Object object)
Method Detail

get

public Object get()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object