Revision 0a954e76
Added by Andreas Müller 5 months ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteController.java | ||
---|---|---|
116 | 116 |
progressMonitor.beginTask("Connecting to '" + remoteSource.getName() + "'", nTasks); |
117 | 117 |
|
118 | 118 |
progressMonitor.subTask("Initialising CDM Model Cache ..."); |
119 |
CdmRemoteCacheManager.getInstance();
|
|
119 |
CdmRemoteCacheManager.INSTANCE();
|
|
120 | 120 |
CdmRemoteCacheManager.removeEntityCaches(); |
121 | 121 |
progressMonitor.worked(1); |
122 | 122 |
progressMonitor.subTask("Starting application context ..."); |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/sessions/InspectSessionsDialog.java | ||
---|---|---|
74 | 74 |
public InspectSessionsDialog(Shell parent, int style) { |
75 | 75 |
super(parent, style); |
76 | 76 |
setText("Inspect Active Session"); |
77 |
cdmlibModelCache = CdmRemoteCacheManager.getInstance().getCdmModelGetMethodsCache();
|
|
77 |
cdmlibModelCache = CdmRemoteCacheManager.INSTANCE().getCdmModelGetMethodsCache();
|
|
78 | 78 |
activeSession = CdmStore.getCurrentSessionManager().getActiveSession(); |
79 | 79 |
if (activeSession != null){ |
80 | 80 |
//TODO |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/sessions/SessionsViewPart.java | ||
---|---|---|
274 | 274 |
} |
275 | 275 |
} |
276 | 276 |
|
277 |
CdmRemoteCacheManager instance = CdmRemoteCacheManager.getInstance();
|
|
277 |
CdmRemoteCacheManager instance = CdmRemoteCacheManager.INSTANCE();
|
|
278 | 278 |
int cdmEnityCacheSize = CacheManager.create().getCacheNames().length; |
279 | 279 |
txtNoOfCaches.setText(String.valueOf(cdmEnityCacheSize)); |
280 | 280 |
|
Also available in: Unified diff
adapt taxeditor to changes in CdmRemoteCacheManager