Interface SysProvider<T>

Type Parameters:
T - type of API supported
All Known Implementing Classes:
HcpSysProvider

public interface SysProvider<T>
Java Service Loader service to add support for sys APIs.
  • Method Summary

    Modifier and Type
    Method
    Description
    createSys(Config config, RestApi restAccess)
    Create a new instance of Sys.
    Supported API by this provider.
  • Method Details

    • supportedApi

      SysApi<T> supportedApi()
      Supported API by this provider.
      Returns:
      sys API supported
    • createSys

      T createSys(Config config, RestApi restAccess)
      Create a new instance of Sys.
      Parameters:
      config - vault configuration
      restAccess - access to REST endpoints
      Returns:
      a API to access sys functions