This interface provides a simple view of configuration as used by most parts of the application. This may be backed by a full-featured config master, or by a much simpler data structure.
This interface is read-only. Implementations must be thread-safe.
Implement this interfaces to provide a ConfigSource. A ConfigSource provides properties from a specific place, like JNDI configuration, a properties file, etc
The custom implementation can be 'registered' using a {@link ConfigSourceProvider} or via the{@link java.util.ServiceLoader} mechanism. In the later caseit must get registered via creating a META-INF/services/org.apache.deltaspike.core.spi.config.ConfigSource file and adding the fully qualified class name of your ConfigSource implementation into it.
|
|