1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.io.tcsxml.in;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
import org.springframework.stereotype.Component;
|
14
|
|
15
|
import eu.etaxonomy.cdm.io.common.CdmApplicationAwareDefaultImport;
|
16
|
|
17
|
/**
|
18
|
* This class was created just as a test class to implement the according integration test.
|
19
|
* But it can also be used on its own for importing tcs-xml data
|
20
|
*
|
21
|
* @author a.mueller
|
22
|
* @created 28.01.2009
|
23
|
* @version 1.0
|
24
|
*/
|
25
|
@Component
|
26
|
public class CdmTcsXmlImport extends CdmApplicationAwareDefaultImport<TcsXmlImportConfigurator> {
|
27
|
@SuppressWarnings("unused")
|
28
|
private static final Logger logger = Logger.getLogger(CdmTcsXmlImport.class);
|
29
|
|
30
|
/* (non-Javadoc)
|
31
|
* @see eu.etaxonomy.cdm.io.common.ICdmImport#invoke(eu.etaxonomy.cdm.io.common.IImportConfigurator)
|
32
|
*/
|
33
|
@Override
|
34
|
public boolean invoke(TcsXmlImportConfigurator tcsiConfig) {
|
35
|
return super.invoke(tcsiConfig);
|
36
|
}
|
37
|
|
38
|
|
39
|
|
40
|
|
41
|
|
42
|
}
|