Package io.confound.app.provider
Class AppConfigurationConcernProvider
java.lang.Object
io.confound.app.provider.AppConfigurationConcernProvider
- All Implemented Interfaces:
io.csar.ConcernProvider
Automatically creates a configuration concern that loads a configuration file for an application.
The configuration manager will discover the configuration file in an application data directory indicated by a configuration base filename "config" indicated as a system property or as an environment variable. The indicated application data directory may be absolute, or relative to the user home directory.
If no application directory can be determined, a configuration exception is thrown.
- Author:
- Garret Wilson
- See Also:
-
AppConfigurationConcernBuilder
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AppConfigurationConcernProvider
public AppConfigurationConcernProvider()
-
-
Method Details
-
concerns
- Specified by:
concernsin interfaceio.csar.ConcernProvider
-