Revision b51ccdd4
Added by Katja Luther almost 6 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationState.java | ||
---|---|---|
30 | 30 |
import org.springframework.security.core.context.SecurityContext; |
31 | 31 |
|
32 | 32 |
import eu.etaxonomy.cdm.api.cache.CdmServiceCacher; |
33 |
import eu.etaxonomy.cdm.api.longrunningService.ILongRunningTasksService; |
|
33 | 34 |
import eu.etaxonomy.cdm.api.service.ICommonService; |
34 | 35 |
import eu.etaxonomy.cdm.api.service.IService; |
35 | 36 |
import eu.etaxonomy.cdm.api.service.ITestService; |
... | ... | |
206 | 207 |
|
207 | 208 |
} |
208 | 209 |
|
210 |
public static ILongRunningTasksService getLongRunningTasksService() { |
|
211 |
ICdmRepository configuration = getCurrentAppConfig(); |
|
212 |
|
|
213 |
return ((CdmApplicationRemoteController)configuration).getLongRunningTasksService(); |
|
214 |
|
|
215 |
} |
|
216 |
|
|
217 |
|
|
209 | 218 |
|
210 | 219 |
public static ITestService getTestService() { |
211 | 220 |
ICdmRepository configuration = getCurrentAppConfig(); |
Also available in: Unified diff
use longRunningTasksService for setSecundumReference