Revision 49881
Added by Michele Artini over 6 years ago
DeleteMetaWfJobNode.java | ||
---|---|---|
15 | 15 |
|
16 | 16 |
import eu.dnetlib.enabling.datasources.common.Api; |
17 | 17 |
import eu.dnetlib.enabling.datasources.common.Datasource; |
18 |
import eu.dnetlib.enabling.datasources.common.DatasourceManager; |
|
18 |
import eu.dnetlib.enabling.datasources.common.LocalDatasourceManager;
|
|
19 | 19 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpService; |
20 | 20 |
import eu.dnetlib.enabling.is.registry.rmi.ISRegistryService; |
21 | 21 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
... | ... | |
30 | 30 |
private UniqueServiceLocator serviceLocator; |
31 | 31 |
|
32 | 32 |
@Autowired |
33 |
private DatasourceManager<Datasource<?, ?>, Api> dsManager; |
|
33 |
private LocalDatasourceManager<Datasource<?, ?>, Api> dsManager;
|
|
34 | 34 |
|
35 | 35 |
private static final Log log = LogFactory.getLog(DeleteMetaWfJobNode.class); |
36 | 36 |
|
... | ... | |
85 | 85 |
|
86 | 86 |
log.info(" - Updating iface, active status: " + active); |
87 | 87 |
|
88 |
dsManager.updateActivationStatus(dsId, ifaceId, active);
|
|
88 |
dsManager.setActive(dsId, ifaceId, active);
|
|
89 | 89 |
} |
90 | 90 |
|
91 | 91 |
public String getMetaWfId() { |
Also available in: Unified diff
renaming of classes