IoC Config 1.1.2An IoC library for providing injectable config values
IoC Config is an IoC library for providing injectable config values.
Config values are essentially constants, but their value may be overridden on registry startup.
This makes them great for use by 3rd party libraries. The libraries can set sensible default values, and applications may then optionally override them.
IoC Config also grabs values from environment variables and .props
files. It even provides environmental overrides allowing your test server to run with different configuration than your dev, or prod server!
Install
To install IoC Config with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install IoC Config with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use IoC Config in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afIocConfig 1.1.2 - 1.1"]
Documentation
Information
Meta information on the IoC Config pod:
- Published by
- Steve Eynon
- Organisation
- Fantom-Factory Ltd
- Pod file size
- 49.91 kB
- Licence
- ISC
- Built on
- 12th Jan 2021
- Source code
- via Git at https://github.com/Fantom-Factory/afIocConfig
- Depends on
- afBeanUtils, afIoc, sys
- Referenced by
- afBedNap, afBedSheet, afBedSheetEfan, afBedSheetMoustache, afBounce, afColdFeet, afDuvet, afEfanXtra, afEggbox, afFindEmma, afGoogleAnalytics, afIocEnv, afMorphiaIoc, afPillow, afRecaptcha, afSleepSafe
- Javascript Compatible
Dependency Graph
Release History
There have been 14 releases of IoC Config: