import org.apache.log4j.Logger;\r
import org.springframework.transaction.TransactionStatus;\r
\r
-import eu.etaxonomy.cdm.api.application.CdmApplicationDefaultController;\r
-import eu.etaxonomy.cdm.api.application.ICdmApplicationDefaultConfiguration;\r
+import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
+import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration;\r
import eu.etaxonomy.cdm.app.common.CdmDestinations;\r
import eu.etaxonomy.cdm.database.DbSchemaValidation;\r
import eu.etaxonomy.cdm.database.ICdmDataSource;\r
final static String epiSplitter = "(\\s+|\\[|\\]|\\(|\\))"; //( ' '+| '(' | ')'| '[' | ']' )\r
static Pattern pattern = null;\r
\r
- protected void doDistribution(ICdmApplicationDefaultConfiguration app){\r
+ protected void doDistribution(ICdmApplicationConfiguration app){\r
pattern = Pattern.compile(epiSplitter); \r
TransactionStatus txStatus = app.startTransaction();\r
List<TaxonBase> taxa = app.getTaxonService().list(null, null, null, null, null);\r
* @param args\r
*/\r
public static void main(String[] args) {\r
- CdmApplicationDefaultController app = null;\r
+ CdmApplicationController app = null;\r
DbSchemaValidation val = DbSchemaValidation.UPDATE;\r
- app = CdmApplicationDefaultController.NewInstance(cdmDestination, val);\r
+ app = CdmApplicationController.NewInstance(cdmDestination, val);\r
\r
DipteraDistributionParser dipDist = new DipteraDistributionParser();\r
if (app != null){\r