You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adrien LAUER edited this page Feb 23, 2017
·
2 revisions
A provider is a Coffig component type responsible for providing tree nodes that will be merged into the global configuration tree. A provider implements the org.seedstack.coffig.spi.ConfigurationProvider interface.
Programmatic registration
To register a provider programmatically, you create an instance of the provider and add it as a parameter to the withProviders() Coffig builder method:
You can also register an evaluator automatically by adding its fully qualified class name in META-INF/services/org.seedstack.coffig.spi.ConfigurationProvider: