edu.ucsb.nceas.metacat.doi

## Class DOIServiceFactory

- java.lang.Object
- - edu.ucsb.nceas.metacat.doi.DOIServiceFactory

-     public class DOIServiceFactory
      extends java.lang.Object

  A factory class to initialize an instance of DOIService based on the configuration in the metacat.properties file
  Author:
    tao

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DOIServiceFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DOIService` | `getDOIService()` Get a singleton instance of DOIService

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DOIServiceFactory

          public DOIServiceFactory()

  - ### Method Detail

    - #### getDOIService

          public static DOIService getDOIService()
                                          throws edu.ucsb.nceas.utilities.PropertyNotFoundException,
                                                 java.lang.InstantiationException,
                                                 java.lang.IllegalAccessException,
                                                 java.lang.ClassNotFoundException

      Get a singleton instance of DOIService
      Returns:
        the instance of DOIService
      Throws:
        `edu.ucsb.nceas.utilities.PropertyNotFoundException`
        `java.lang.ClassNotFoundException`
        `java.lang.IllegalAccessException`
        `java.lang.InstantiationException`

Copyright © 2023 Regents of the University of California. All Rights Reserved.