Package edu.ucsb.nceas.metacat.doi
Class DOIServiceFactory
java.lang.Object
edu.ucsb.nceas.metacat.doi.DOIServiceFactory
A factory class to initialize an instance of DOIService
based on the configuration in the metacat.properties file
- Author:
- tao
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DOIServiceFactory
public DOIServiceFactory()
-
-
Method Details
-
getDOIService
public static DOIService getDOIService() throws edu.ucsb.nceas.utilities.PropertyNotFoundException, InstantiationException, IllegalAccessException, ClassNotFoundExceptionGet a singleton instance of DOIService- Returns:
- the instance of DOIService
- Throws:
edu.ucsb.nceas.utilities.PropertyNotFoundException
ClassNotFoundException
IllegalAccessException
InstantiationException
-