@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
public abstract String value
Specify the config resource name.
Copyright © 2014–2018 ActFramework. All rights reserved.