
org.dspace.supervision.factory.SupervisionOrderServiceFactory 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 newest version!
/**
* 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.supervision.factory;
import org.dspace.services.factory.DSpaceServicesFactory;
import org.dspace.supervision.service.SupervisionOrderService;
/**
* Abstract factory to get services for the supervision package,
* use SupervisionOrderServiceFactory.getInstance() to retrieve an implementation
*
* @author Mohamed Eskander (mohamed.eskander at 4science dot it)
*/
public abstract class SupervisionOrderServiceFactory {
public abstract SupervisionOrderService getSupervisionOrderService();
public static SupervisionOrderServiceFactory getInstance() {
return DSpaceServicesFactory.getInstance()
.getServiceManager()
.getServiceByName("supervisionOrderServiceFactory",
SupervisionOrderServiceFactory.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy