org.dspace.eperson.factory.EPersonServiceFactoryImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.eperson.factory;
import org.dspace.eperson.service.AccountService;
import org.dspace.eperson.service.EPersonService;
import org.dspace.eperson.service.GroupService;
import org.dspace.eperson.service.RegistrationDataService;
import org.dspace.eperson.service.SubscribeService;
import org.dspace.eperson.service.SupervisorService;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Factory implementation to get services for the eperson package, use EPersonServiceFactory.getInstance() to
* retrieve an implementation
*
* @author kevinvandevelde at atmire.com
*/
public class EPersonServiceFactoryImpl extends EPersonServiceFactory {
@Autowired(required = true)
private GroupService groupService;
@Autowired(required = true)
private EPersonService epersonService;
@Autowired(required = true)
private RegistrationDataService registrationDataService;
@Autowired(required = true)
private AccountService accountService;
@Autowired(required = true)
private SubscribeService subscribeService;
@Autowired(required = true)
private SupervisorService supervisorService;
@Override
public EPersonService getEPersonService() {
return epersonService;
}
@Override
public GroupService getGroupService() {
return groupService;
}
@Override
public RegistrationDataService getRegistrationDataService() {
return registrationDataService;
}
@Override
public AccountService getAccountService() {
return accountService;
}
@Override
public SubscribeService getSubscribeService() {
return subscribeService;
}
@Override
public SupervisorService getSupervisorService() {
return supervisorService;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy