net.sf.farrago.util
Class FarragoCompoundAllocation

java.lang.Object
  extended by org.eigenbase.util.CompoundClosableAllocation
      extended by net.sf.farrago.util.FarragoCompoundAllocation
All Implemented Interfaces:
FarragoAllocation, FarragoAllocationOwner, ClosableAllocation, ClosableAllocationOwner
Direct Known Subclasses:
DdlValidator, FarragoDbSession, FarragoDbSessionIndexMap, FarragoDbSingleton, FarragoExecutableStmtImpl, FarragoMdrTestContext, FarragoPluginCache, FarragoRuntimeContext, FarragoRuntimeContext.StreamOwner, FarragoStmtValidator

public class FarragoCompoundAllocation
extends CompoundClosableAllocation
implements FarragoAllocationOwner

FarragoCompoundAllocation represents a collection of FarragoAllocations which share a common lifecycle. It guarantees that allocations are closed in the reverse order in which they were added.

REVIEW: SWZ: 2/22/2006: New code should use CompoundClosableAllocation directly when possible. Eventually remove this class and replace all usages with CompoundClosableAllocation.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/util/FarragoCompoundAllocation.java#13 $
Author:
John V. Sichi

Field Summary
 
Fields inherited from class org.eigenbase.util.CompoundClosableAllocation
allocations
 
Constructor Summary
FarragoCompoundAllocation()
           
 
Method Summary
 
Methods inherited from class org.eigenbase.util.CompoundClosableAllocation
addAllocation, closeAllocation, forgetAllocation, hasAllocations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eigenbase.util.ClosableAllocationOwner
addAllocation
 
Methods inherited from interface org.eigenbase.util.ClosableAllocation
closeAllocation
 
Methods inherited from interface org.eigenbase.util.ClosableAllocation
closeAllocation
 

Constructor Detail

FarragoCompoundAllocation

public FarragoCompoundAllocation()