org.graffiti.util
Class MutuallyReferableObject

java.lang.Object
  extended by org.graffiti.util.MutuallyReferableObject
All Implemented Interfaces:
MutuallyReferable
Direct Known Subclasses:
Session

public class MutuallyReferableObject
extends Object
implements MutuallyReferable

A class implementing to reference mechanism of MutuallyReferable.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner

Constructor Summary
MutuallyReferableObject()
           
 
Method Summary
 void addReference(Object o)
          Adds a reference to the specified object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutuallyReferableObject

public MutuallyReferableObject()
Method Detail

addReference

public void addReference(Object o)
Adds a reference to the specified object. The reference is only used to influence the garbage collector.

Specified by:
addReference in interface MutuallyReferable
Parameters:
o - the object to reference.


Generated at 2012-05-30 11:00:36 PM CEST