|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.TransferFactory
public class TransferFactory
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 |
|---|
public init([string datasourcePath], [string configPath], [string definitionPath='/transfer/resources/definitions/'], [Configuration configuration])
datasourcePath - The path to datasource xml file. Should be a relative path, i.e. /myapp/configs/datasource.xmlconfigPath - The path to the config xml file, Should be a relative path, i.e. /myapp/configs/transfer.xmldefinitionPath - directory to write the defition files. Should be from root, i.e. /myapp/definitions/, as it is used for cfincludeconfiguration - A configuration bean. If you supply one, you don't need to provide any other arguments| Method Detail |
|---|
private void addImports(Configuration configuration, XMLFileReader configReader)
configuration - the config beanconfigReader - the XML config readerpublic Datasource getDatasource()
public Transaction getTransaction()
private TransactionManager getTransactionManager()
public Transfer getTransfer()
public string getVersion()
private void setDatasource(Datasource Datasource)
Datasourceprivate void setTransactionManager(TransactionManager TransactionManager)
TransactionManagerprivate void setTransfer(Transfer Transfer)
Transfer
|
Transfer version 1.1 | ||||
| FRAMES | |||||