Class HcpSysProvider
- java.lang.Object
-
- io.helidon.integrations.vault.sys.HcpSysProvider
-
- All Implemented Interfaces:
InjectionProvider
,SysProvider<SysRx>
public class HcpSysProvider extends Object implements SysProvider<SysRx>, InjectionProvider
Java Service Loader service implementation forSysRx
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.integrations.vault.spi.InjectionProvider
InjectionProvider.CreateInstanceFunction<T>, InjectionProvider.InjectionType<T>, InjectionProvider.InstanceConfig
-
-
Constructor Summary
Constructors Constructor Description HcpSysProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SysRx
createSys(Config config, RestApi restAccess)
Create a new instance of Sys.List<InjectionProvider.InjectionType<?>>
injectables()
List of injectable types supported by this provider.SysApi<SysRx>
supportedApi()
Supported API by this provider.
-
-
-
Method Detail
-
supportedApi
public SysApi<SysRx> supportedApi()
Description copied from interface:SysProvider
Supported API by this provider.- Specified by:
supportedApi
in interfaceSysProvider<SysRx>
- Returns:
- sys API supported
-
createSys
public SysRx createSys(Config config, RestApi restAccess)
Description copied from interface:SysProvider
Create a new instance of Sys.- Specified by:
createSys
in interfaceSysProvider<SysRx>
- Parameters:
config
- vault configurationrestAccess
- access to REST endpoits- Returns:
- a API to access sys functions
-
injectables
public List<InjectionProvider.InjectionType<?>> injectables()
Description copied from interface:InjectionProvider
List of injectable types supported by this provider.- Specified by:
injectables
in interfaceInjectionProvider
- Returns:
- list of types
-
-