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

37 lines
1.0 KiB
Java

package eu.eudat.services;
import eu.eudat.services.helpers.HelpersService;
import eu.eudat.services.operations.OperationsContext;
import eu.eudat.services.utilities.UtilitiesService;
import org.springframework.stereotype.Service;
@Service("apiContext")
public class ApiContextImpl implements ApiContext {
private OperationsContext operationsContext;
private HelpersService helpersService;
private UtilitiesService utilitiesService;
public ApiContextImpl(OperationsContext operationsContext, HelpersService helpersService, UtilitiesService utilitiesService) {
this.operationsContext = operationsContext;
this.helpersService = helpersService;
this.utilitiesService = utilitiesService;
}
@Override
public OperationsContext getOperationsContext() {
return operationsContext;
}
@Override
public HelpersService getHelpersService() {
return helpersService;
}
@Override
public UtilitiesService getUtilitiesService() {
return utilitiesService;
}
}