org.jclarion.clarion.runtime
Class OverGlue

java.lang.Object
  extended by org.jclarion.clarion.runtime.OverGlue
All Implemented Interfaces:
ClarionMemoryChangeListener

public class OverGlue
extends java.lang.Object
implements ClarionMemoryChangeListener

This class allows an object to call setOver() another object. Changes in one object are propagated to other via their memory models as expressed via ClarionMemoryModel interface Objects are weakly linked. Once one of the objects becomes unreferencable the Glue dissolves.

Author:
barney

Constructor Summary
OverGlue(ClarionMemoryModel left, ClarionMemoryModel right)
           
 
Method Summary
 void destroy()
           
 void finalize()
           
 void objectChanged(ClarionMemoryModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverGlue

public OverGlue(ClarionMemoryModel left,
                ClarionMemoryModel right)
Method Detail

objectChanged

public void objectChanged(ClarionMemoryModel model)
Specified by:
objectChanged in interface ClarionMemoryChangeListener

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

destroy

public void destroy()


Copyright © 2010. All Rights Reserved.