Package io.quarkus.registry
Interface RuntimeInfoProvider
public interface RuntimeInfoProvider
A way to register
ValueRegistry.RuntimeInfo with ValueRegistry. Implementations are free to
choose how RuntimeInfoProvider are discovered. The recommended approach is to use the ServiceLoader
mechanism.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA source that can query runtime values to populateValueRegistry. -
Method Summary
Modifier and TypeMethodDescriptionvoidregister(ValueRegistry valueRegistry, RuntimeInfoProvider.RuntimeSource runtimeSource) To registerValueRegistry.RuntimeInfoorValueRegistry.RuntimeKeywhenValueRegistryis instantiated.
-
Method Details
-
register
To registerValueRegistry.RuntimeInfoorValueRegistry.RuntimeKeywhenValueRegistryis instantiated.- Parameters:
valueRegistry- the currentValueRegistryruntimeSource- aRuntimeInfoProvider.RuntimeSourcewith runtime values
-