Transfer version 1.1

transfer
Class TransferFactory

WEB-INF.cftags.component
        extended by transfer.TransferFactory

public class TransferFactory
extends WEB-INF.cftags.component

The Factory for Transfer, should be a scope singleton


Constructor Summary
init([string datasourcePath], [string configPath], [string definitionPath='/transfer/resources/definitions/'], [Configuration configuration])
          Constructor
 
Method Summary
private void addImports(Configuration configuration, XMLFileReader configReader)
          add the imports into the configReader
 Datasource getDatasource()
          Returns the datasource bean that provides connectivity details to the database
 Transaction getTransaction()
          returns the Transfer transaction management service
private TransactionManager getTransactionManager()
 Transfer getTransfer()
          Returns the main library class, that is used in all processing
 string getVersion()
          Returns the version number
private void setDatasource(Datasource Datasource)
private void setTransactionManager(TransactionManager TransactionManager)
private void setTransfer(Transfer Transfer)
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init([string datasourcePath], [string configPath], [string definitionPath='/transfer/resources/definitions/'], [Configuration configuration])
Constructor

Parameters:
datasourcePath - The path to datasource xml file. Should be a relative path, i.e. /myapp/configs/datasource.xml
configPath - The path to the config xml file, Should be a relative path, i.e. /myapp/configs/transfer.xml
definitionPath - directory to write the defition files. Should be from root, i.e. /myapp/definitions/, as it is used for cfinclude
configuration - A configuration bean. If you supply one, you don't need to provide any other arguments
Method Detail

addImports

private void addImports(Configuration configuration, XMLFileReader configReader)
add the imports into the configReader

Parameters:
configuration - the config bean
configReader - the XML config reader

getDatasource

public Datasource getDatasource()
Returns the datasource bean that provides connectivity details to the database


getTransaction

public Transaction getTransaction()
returns the Transfer transaction management service


getTransactionManager

private TransactionManager getTransactionManager()


getTransfer

public Transfer getTransfer()
Returns the main library class, that is used in all processing


getVersion

public string getVersion()
Returns the version number


setDatasource

private void setDatasource(Datasource Datasource)

Parameters:
Datasource

setTransactionManager

private void setTransactionManager(TransactionManager TransactionManager)

Parameters:
TransactionManager

setTransfer

private void setTransfer(Transfer Transfer)

Parameters:
Transfer

Transfer version 1.1