argos/dmp-backend/src/main/java/eu/eudat/services/ApiContextImpl.java

37 lines
1.0 KiB
Java
Raw Normal View History

2018-01-04 10:32:39 +01:00
package eu.eudat.services;
2018-03-05 17:18:45 +01:00
import eu.eudat.services.helpers.HelpersService;
import eu.eudat.services.operations.OperationsContext;
import eu.eudat.services.utilities.UtilitiesService;
2018-01-04 10:32:39 +01:00
import org.springframework.stereotype.Service;
2018-02-01 10:08:06 +01:00
2018-01-04 10:32:39 +01:00
@Service("apiContext")
2018-02-16 11:34:02 +01:00
public class ApiContextImpl implements ApiContext {
2018-01-04 10:32:39 +01:00
2018-03-05 17:18:45 +01:00
private OperationsContext operationsContext;
private HelpersService helpersService;
private UtilitiesService utilitiesService;
2018-01-04 10:32:39 +01:00
2018-03-05 17:18:45 +01:00
public ApiContextImpl(OperationsContext operationsContext, HelpersService helpersService, UtilitiesService utilitiesService) {
this.operationsContext = operationsContext;
this.helpersService = helpersService;
this.utilitiesService = utilitiesService;
2018-01-04 10:32:39 +01:00
}
@Override
2018-03-05 17:18:45 +01:00
public OperationsContext getOperationsContext() {
return operationsContext;
2018-01-04 10:32:39 +01:00
}
@Override
2018-03-05 17:18:45 +01:00
public HelpersService getHelpersService() {
return helpersService;
2018-01-05 08:47:52 +01:00
}
2018-01-05 16:40:19 +01:00
@Override
2018-03-05 17:18:45 +01:00
public UtilitiesService getUtilitiesService() {
return utilitiesService;
2018-02-16 08:45:18 +01:00
}
2018-01-04 10:32:39 +01:00
}