- All Known Implementing Classes:
RegistryFactoryProviderImpl
public interface RegistryFactoryProvider
Provides
RegistryFactory
instances.
A component that contains an implementation of RegistryFactoryProvider
should identify it using the service
loader mechanism.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(MetricsSettings metricsSettings) Creates a newRegistryFactory
according to the specified metrics settings.
-
Method Details
-
create
Creates a newRegistryFactory
according to the specified metrics settings.Implementations of this method should assume that
MetricsSettings.isEnabled()
istrue
and do not need to check that themselves.- Parameters:
metricsSettings
- theMetricsSettings
to use in creating the new registry factory- Returns:
- a new
RegistryFactory
based on the provided metrics settings
-