public interface ConfigSourceProvider
Implement this interfaces to provide a ConfigSource provider which is able to maintain multiple ConfigSources. This is e.g. needed if there are multiple property files of a given name.
If a ConfigSource like JNDI only exists once, then there is no need
to implement it via the ConfigSourceProvider but should directly
expose a ConfigSource
.
A ConfigSourceProvider will get picked up via the
ServiceLoader
mechanism and must get registered via
META-INF/services/org.apache.deltaspike.core.spi.config.ConfigSourceProvider
Modifier and Type | Method and Description |
---|---|
List<ConfigSource> |
getConfigSources() |
List<ConfigSource> getConfigSources()
Copyright © 2016 The Apache Software Foundation. All rights reserved.