edu.ucsb.nceas.metacat.shared

## Class BaseService

- java.lang.Object
- - edu.ucsb.nceas.metacat.shared.BaseService

- Direct Known Subclasses:
    ConfigurableProperties, DatabaseService, HazelcastService, PropertyService, ReplicationService, SessionService, SimpleProperties, SkinPropertyService, XMLSchemaService

      public abstract class BaseService
      extends java.lang.Object

  A suite of utility classes for querying DB

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.lang.String` | `_serviceName`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseService()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | `doRefresh()`
    `void` | `refresh()`
    `abstract boolean` | `refreshable()`
    `abstract void` | `stop()`

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

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

- - ### Field Detail

    - #### _serviceName

          protected java.lang.String _serviceName

  - ### Constructor Detail

    - #### BaseService

          public BaseService()

  - ### Method Detail

    - #### refreshable

          public abstract boolean refreshable()

    - #### doRefresh

          protected abstract void doRefresh()
                                     throws ServiceException

      Throws:
        `ServiceException`

    - #### refresh

          public void refresh()
                       throws ServiceException

      Throws:
        `ServiceException`

    - #### stop

          public abstract void stop()
                             throws ServiceException

      Throws:
        `ServiceException`

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