public class ViewInstallProcessor extends AbstractInstallProcessor
开发人员: renhui
开发时间: 2013-8-15
logger
DATABASE_INSTALL_PROCESSOR, INITDATA_INSTALL_PROCESSOR, PROCEDURE_INSTALL_PROCESSOR, SEQUENCE_INSTALL_PROCESSOR, TABLE_INSTALL_PROCESSOR, TRIGGER_INSTALL_PROCESSOR, VIEW_INSTALL_PROCESSOR
DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ViewInstallProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
List<String> |
getProcessSqls(boolean isFull,
String language,
Connection connection)
获取处理sql
|
ViewProcessor |
getViewProcessor() |
void |
setViewProcessor(ViewProcessor viewProcessor) |
getPostProcessSqls, getPreProcessSqls
public ViewProcessor getViewProcessor()
public void setViewProcessor(ViewProcessor viewProcessor)
public int getOrder()
Ordered
Normally starting with 0 or 1, with Ordered.LOWEST_PRECEDENCE
indicating greatest. Same order values will result in arbitrary
positions for the affected objects.
Higher value can be interpreted as lower priority, consequently the first object has highest priority (somewhat analogous to Servlet "load-on-startup" values).
Note that order values below 0 are reserved for framework purposes. Application-specified values should always be 0 or greater, with only framework components (internal or third-party) supposed to use lower values.
getOrder
in interface Ordered
getOrder
in class AbstractInstallProcessor
Ordered.LOWEST_PRECEDENCE
public List<String> getProcessSqls(boolean isFull, String language, Connection connection) throws SQLException
InstallProcessor
getProcessSqls
in interface InstallProcessor
getProcessSqls
in class AbstractInstallProcessor
connection
- 连接对象SQLException
Copyright © 2006–2018 TinyGroup. All rights reserved.