public class DatabaseInstallerProcessor extends Object implements org.tinygroup.application.ApplicationProcessor
开发人员: renhui
开发时间: 2013-8-15
| Modifier and Type | Field and Description |
|---|---|
static String |
DATABASE_INSTALLER_BEAN_NAME |
| Constructor and Description |
|---|
DatabaseInstallerProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
config(org.tinygroup.xmlparser.node.XmlNode applicationConfig,
org.tinygroup.xmlparser.node.XmlNode componentConfig) |
void |
execute(List<String> sqls,
Connection con) |
org.tinygroup.xmlparser.node.XmlNode |
getApplicationConfig() |
String |
getApplicationNodePath() |
List<String> |
getChangeSqls() |
org.tinygroup.xmlparser.node.XmlNode |
getComponentConfig() |
String |
getComponentConfigPath() |
String |
getDbLanguage() |
List<String> |
getFullSqls() |
List<InstallProcessor> |
getInstallProcessors() |
String |
getLanguage() |
String |
getNodeName() |
int |
getOrder() |
void |
init() |
void |
process() |
void |
process(String language) |
void |
setApplication(org.tinygroup.application.Application application) |
void |
setDataSource(DataSource dataSource) |
void |
setDbLanguage(String dbLanguage) |
void |
setInstallProcessors(List<InstallProcessor> installProcessors) |
void |
start() |
void |
stop() |
public static final String DATABASE_INSTALLER_BEAN_NAME
public void setDataSource(DataSource dataSource)
public String getDbLanguage()
public void setDbLanguage(String dbLanguage)
public List<InstallProcessor> getInstallProcessors()
public void setInstallProcessors(List<InstallProcessor> installProcessors)
public String getNodeName()
public String getLanguage()
public void process()
public String getApplicationNodePath()
getApplicationNodePath in interface Configurationpublic String getComponentConfigPath()
getComponentConfigPath in interface Configurationpublic void config(org.tinygroup.xmlparser.node.XmlNode applicationConfig,
org.tinygroup.xmlparser.node.XmlNode componentConfig)
config in interface Configurationpublic org.tinygroup.xmlparser.node.XmlNode getComponentConfig()
getComponentConfig in interface Configurationpublic org.tinygroup.xmlparser.node.XmlNode getApplicationConfig()
getApplicationConfig in interface Configurationpublic void start()
start in interface org.tinygroup.application.ApplicationProcessorpublic void stop()
stop in interface org.tinygroup.application.ApplicationProcessorpublic void setApplication(org.tinygroup.application.Application application)
setApplication in interface org.tinygroup.application.ApplicationProcessorpublic int getOrder()
getOrder in interface org.tinygroup.commons.order.Orderedpublic void init()
init in interface org.tinygroup.application.ApplicationProcessorpublic void process(String language)
public void execute(List<String> sqls, Connection con) throws SQLException
SQLExceptionCopyright © 2006–2017 TinyGroup. All rights reserved.