org.abora.gold.wrapper
Class FeAbstractWrapperSpec

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.wrapper.FeWrapperSpec
                    |
                    +--org.abora.gold.wrapper.FeAbstractWrapperSpec

public class FeAbstractWrapperSpec
extends FeWrapperSpec


Field Summary
protected  PtrArray myConcreteSpecs
           
 
Fields inherited from class org.abora.gold.wrapper.FeWrapperSpec
myDef, myEndorsements, myFilter, mySuperSpec, TheWrapperDefs, TheWrapperEndorsements, TheWrappersFromEndorsements, TheWrapperSpecs
 
Fields inherited from class org.abora.gold.xpp.basic.Heaper
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes
 
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
FeAbstractWrapperSpec(FeAbstractWrapperDef def)
           
 
Method Summary
 boolean certify(FeEdition edition)
          Whether the Edition passes the invariants of this type so that it could be certified.
Always checks the actual contents and endorses if they are acceptable.
 void endorse(FeEdition edition)
          Endorse the Edition as being of this type.
 FeWrapper fetchWrap(FeEdition edition)
           
static Heaper make(FeAbstractWrapperDef def)
           
 void setupConcreteSubSpec(FeConcreteWrapperSpec spec)
          Add a new concrete spec to the list, keeping it topologically sorted so that if A wraps B,
A precedes B
 
Methods inherited from class org.abora.gold.wrapper.FeWrapperSpec
ABSTRACTWRAPPER, actualHashForEqual, addToFilter, def, DIRECTWRAPPER, endorsements, fetch, fetchSuperSpec, filter, get, getEndorsements, getFromEndorsement, INDIRECTWRAPPER, info, initTimeNonInherited, isCertified, isEqual, isSubSpecOf, knownWrappers, linkTimeNonInherited, mustSetup, name, problems, registerAbstract, registerDirect, registerIndirect, setup, setupWrapperSpecs, setWrapperEndorsements, wrap
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqual, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, printOn, PROBLEM, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, sendSelfTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
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

myConcreteSpecs

protected PtrArray myConcreteSpecs
Constructor Detail

FeAbstractWrapperSpec

public FeAbstractWrapperSpec(FeAbstractWrapperDef def)
Method Detail

certify

public boolean certify(FeEdition edition)
Description copied from class: FeWrapperSpec
Whether the Edition passes the invariants of this type so that it could be certified.
Always checks the actual contents and endorses if they are acceptable.

Overrides:
certify in class FeWrapperSpec

setupConcreteSubSpec

public void setupConcreteSubSpec(FeConcreteWrapperSpec spec)
Add a new concrete spec to the list, keeping it topologically sorted so that if A wraps B,
A precedes B


endorse

public void endorse(FeEdition edition)
Description copied from class: FeWrapperSpec
Endorse the Edition as being of this type. Blasts if this is an abstract type.
Should only be called from the code implementing the type, or code which it trusts. We may
eventually add a system to enforce this.

Overrides:
endorse in class FeWrapperSpec

fetchWrap

public FeWrapper fetchWrap(FeEdition edition)
Overrides:
fetchWrap in class FeWrapperSpec

make

public static Heaper make(FeAbstractWrapperDef def)


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