facet classafIocConfig::Config
sys::Obj afIocConfig::Config : sys::Facet
Use with @Inject
to inject config values into your classes. Example:
@Inject @Config { id="gzipThreshold" } private Int gzipThreshold
If id
is not provided, it takes on the name of the field. Therefore the following is identical to the above:
@Inject @Config private Int gzipThreshold