@LoadValue(value=ConfigResourceLoader.class) @Retention(value=RUNTIME) @Target(value={PARAMETER,FIELD}) @InjectTag public @interface LoadConfig
The annotation specify a field or parameter should be a config file that is loaded from path specified.
The difference between @LoadConfig
and @LoadResource
is specified at https://github.com/actframework/actframework/issues/420
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Specify the config resource name.
|
Copyright © 2014–2017 ActFramework. All rights reserved.