@Retention(value=RUNTIME) @Target(value={PARAMETER,FIELD}) public @interface DefaultConfig
ConfigRoot.getConfig()
or
ConfigRoot.getConfigFile()
.
Use this annotation on a File
if you want the pathname to
the default configuration. Or instead, use this annotation on a
ConfigurationLoader
to get an instance of that. Remember that
Inject
is also necessary.
Modifier and Type | Required Element and Description |
---|---|
boolean |
sharedRoot
Whether the the shared root for configuration should be used.
|
public abstract boolean sharedRoot
For information on what the shared root is