Class InfoObserveProvider
java.lang.Object
io.helidon.webserver.observe.info.InfoObserveProvider
- All Implemented Interfaces:
ConfiguredProvider<Observer>, ObserveProvider
Application information observe provider implementation, discoverable through
ServiceRegistry and ServiceLoader.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfiguredProvider
createModifier and TypeMethodDescriptiondefault Observercreate(Config config, String name, ServiceRegistry serviceRegistry) Create a new instance from configuration using services from the registry which owns the configured instance.Methods inherited from interface ObserveProvider
type
-
Constructor Details
-
InfoObserveProvider
public InfoObserveProvider()Required public constructor forServiceLoader.
-
-
Method Details
-
configKey
Description copied from interface:ObserveProviderConfiguration key of this provider. The following keys must be honored by Observe support:enabled- enable/disable the serviceendpoint- endpoint, if starts with/then absolute, otherwise relative to observe endpointcors- CORS setup for this endpoint
- Specified by:
configKeyin interfaceConfiguredProvider<Observer>- Specified by:
configKeyin interfaceObserveProvider- Returns:
- configuration key of this provider (such as
health)
-
create
Description copied from interface:ConfiguredProviderCreate a new instance from the configuration located on the provided node.- Specified by:
createin interfaceConfiguredProvider<Observer>- Parameters:
config- located atConfiguredProvider.configKey()nodename- name of the configured implementation- Returns:
- a new instance created from this config node
-