@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Singleton
Annotation that qualifies a configuration element that can only exist
as a singleton in the configuration tree.
When configuration elements are added to their parents through a
subclassing pattern, it can be difficult for the system to determine if this
element can exist as a singleton or a collection.
For instance, when the parent contains :
- Author:
- Jerome Dochez