Transfer version 1.1

transfer.com.sql.transaction
Class TransactionEventPool

WEB-INF.cftags.component
        extended by transfer.com.collections.AbstractBaseSemiSoftRefObjectPool
            extended by transfer.com.sql.transaction.TransactionEventPool

public class TransactionEventPool
extends AbstractBaseSemiSoftRefObjectPool

A pool for TransactionEvent objects


Constructor Summary
init(JavaLoader javaLoader)
          Constructor
 
Method Summary
private TransactionEvent getNewObject()
          returns the new CFC to repopulate the pool
 TransactionEvent getTransactionEvent(any object, string method, struct args)
          Gives you a Transaction Event
 void recycle(transfer.com.events.TransactionEvent event)
          recycles the event back in
 
Methods inherited from class transfer.com.collections.AbstractBaseSemiSoftRefObjectPool
getHardQueue, getHardReferenceAmount, getReferenceQueue, getSoftQueue, pop, popSoftQueue, push, reap, refill, setHardQueue, setHardReferenceAmount, setReferenceQueue, setSoftQueue, throw
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(JavaLoader javaLoader)
Constructor

Parameters:
javaLoader - The java loader for the apache commons
Method Detail

getNewObject

private TransactionEvent getNewObject()
returns the new CFC to repopulate the pool

Overrides:
getNewObject in class AbstractBaseSemiSoftRefObjectPool

getTransactionEvent

public TransactionEvent getTransactionEvent(any object, string method, struct args)
Gives you a Transaction Event

Parameters:
object - A Transaction object to send with the event
method - the name of the method
args - the argument collection for the method

recycle

public void recycle(transfer.com.events.TransactionEvent event)
recycles the event back in

Parameters:
event - Transaction event to be recycled

Transfer version 1.1