Package tigase.kernel.beans.config
Annotation Interface ConfigField
Annotation to define configurable field.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionMakes alias of "component root level" property in config file.boolean
Allows config to be set on one of parent levels of configuration using alias.
-
Element Details
-
desc
String descDescription of field. May be used in all human readable forms.- Returns:
- description of field.
-
-
-
alias
String aliasMakes alias of "component root level" property in config file.Not only
component/bean/property=value
will be used but alsocomponent/alias=value
.- Returns:
- alias of config field.
- Default:
- ""
-
allowAliasFromParent
boolean allowAliasFromParentAllows config to be set on one of parent levels of configuration using alias. If not set totrue
, it is possible to use alias only on the config level of the bean.- Default:
- true
-
type
ConfigFieldType type- Default:
- Plain
-