|
|
|
@ -91,8 +91,8 @@ public class DesignDatasourceComponent extends DatasourceComponent {
|
|
|
|
|
ParameterTypeHandler.getInstance().addParser(ParameterType.JSONArray.name(), new MultiParameterParser()); |
|
|
|
|
ParameterTypeHandler.getInstance().addParser(ParameterType.Formula.name(), new FormulaParameterParser()); |
|
|
|
|
ParameterTypeHandler.getInstance().addParser(ParameterType.TableColumn.name(), new TableColumnParameterParser()); |
|
|
|
|
TableDataRepository.getInstance().start(); |
|
|
|
|
ConnectionRepository.getInstance().start(); |
|
|
|
|
TableDataRepository.getInstance().startUseCache(); |
|
|
|
|
ConnectionRepository.getInstance().startUseCache(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void registerDriverClassLoader() { |
|
|
|
@ -106,8 +106,8 @@ public class DesignDatasourceComponent extends DatasourceComponent {
|
|
|
|
|
*/ |
|
|
|
|
@Stop |
|
|
|
|
public void stop() { |
|
|
|
|
ConnectionRepository.getInstance().stop(); |
|
|
|
|
TableDataRepository.getInstance().stop(); |
|
|
|
|
ConnectionRepository.getInstance().stopUseCache(); |
|
|
|
|
TableDataRepository.getInstance().stopUseCache(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|