net.sourceforge.addam.ddlrun.runners
Class DeploymentRunnerFactory

java.lang.Object
  extended by net.sourceforge.addam.ddlrun.runners.DeploymentRunnerFactory

public class DeploymentRunnerFactory
extends Object

Used to easily create DeploymentRunners for install and upgrade.

Since:
Mar 25, 2005
Author:
TIM3

Constructor Summary
DeploymentRunnerFactory()
           
 
Method Summary
 DeploymentRunner getInstallRunner(ResourceReaderFactory readerFactory, Connection connection, ScriptGrammar grammar)
           
static DeploymentRunnerFactory getInstance()
           
 DeploymentRunner getUpgradeRunner(ResourceReaderFactory readerFactory, Connection connection, ScriptGrammar grammar, StartFolderRetriever startFolderRetriever, CompletedScriptRetriever completedScriptRetriever)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentRunnerFactory

public DeploymentRunnerFactory()
Method Detail

getInstance

public static DeploymentRunnerFactory getInstance()

getInstallRunner

public DeploymentRunner getInstallRunner(ResourceReaderFactory readerFactory,
                                         Connection connection,
                                         ScriptGrammar grammar)

getUpgradeRunner

public DeploymentRunner getUpgradeRunner(ResourceReaderFactory readerFactory,
                                         Connection connection,
                                         ScriptGrammar grammar,
                                         StartFolderRetriever startFolderRetriever,
                                         CompletedScriptRetriever completedScriptRetriever)
                                  throws SQLException
Parameters:
readerFactory -
connection -
grammar -
startFolderRetriever -
completedScriptRetriever -
Returns:
Throws:
SQLException - if there is a problem selecting the start folder or completed scripts


Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.