#4932 Remove autowired members, Use serliaised cdm model map
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / cdm / api / application / CdmApplicationRemoteController.java
index 1d1e878eacb09fb222f287fd8eae52cf6cf4b33a..47af2ca42fffaab0a2cda1e3a12cce4453d97a35 100644 (file)
@@ -147,14 +147,14 @@ public class CdmApplicationRemoteController  extends CdmApplicationController {
 
         GenericApplicationContext applicationContext =  new GenericApplicationContext();
 
-        int nTasks = 2;
+        int nTasks = 3;
 
         progressMonitor.beginTask("Connecting to '" + remoteSource.getName() + "'", nTasks);
 
-        progressMonitor.subTask("Loading context beans ...");
-        // initialising the cdm model cache
+        progressMonitor.subTask("Initialising CDM Model Cache ...");
         CdmRemoteCacheManager.getInstance();
 
+        progressMonitor.subTask("Loading context beans ...");
         PropertySourcesPlaceholderConfigurer pspc = new PropertySourcesPlaceholderConfigurer();
         Properties properties = new Properties();
         properties.setProperty("remoteServer", remoteSource.getServer());