org.abora.gold.xpp.fluid
Class FluidPromiseVar

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.fluid.FluidVar
              |
              +--org.abora.gold.xpp.fluid.FluidPromiseVar

public class FluidPromiseVar
extends FluidVar

We have to use the name of the actual fluid variable since the variable itself may not be
initialized when its corresponding promise fluid variable is initialized. Since this
happens during
static init time, the order cannot be controlled.


Field Summary
protected  Symbol myActualFluid
           
 
Fields inherited from class org.abora.gold.xpp.fluid.FluidVar
myEmulsion, myInitBlock, myName, myOffset, myType
 
Fields inherited from class org.abora.gold.java.AboraHeaper
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag
 
Constructor Summary
FluidPromiseVar(BlockClosure initialBlock, Emulsion emulsion, Symbol name, java.lang.Class classx, FluidVar actual)
           
 
Method Summary
 void Emulsion()
           
 void fluidSet(java.lang.Object newValue)
          self == CurrentPacker ifTrue: [self halt].
static Heaper make(java.lang.String varName, BlockClosure initialValueBlock, Emulsion emulsion, java.lang.Class classx, FluidVar actual)
           
 
Methods inherited from class org.abora.gold.xpp.fluid.FluidVar
cleanup, cleanupGarbage, emulsion, fluidBindDuring, fluidFetch, fluidGet, fluidVar, goAway, init, initialValue, make, make, make, printOn
 
Methods inherited from class org.abora.gold.java.AboraHeaper
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myActualFluid

protected Symbol myActualFluid
Constructor Detail

FluidPromiseVar

public FluidPromiseVar(BlockClosure initialBlock,
                       Emulsion emulsion,
                       Symbol name,
                       java.lang.Class classx,
                       FluidVar actual)
Method Detail

fluidSet

public void fluidSet(java.lang.Object newValue)
Description copied from class: FluidVar
self == CurrentPacker ifTrue: [self halt].

Overrides:
fluidSet in class FluidVar

Emulsion

public void Emulsion()

make

public static Heaper make(java.lang.String varName,
                          BlockClosure initialValueBlock,
                          Emulsion emulsion,
                          java.lang.Class classx,
                          FluidVar actual)


Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.