@Retention(value=RUNTIME) @Target(value=METHOD) public @interface SubConfig
The return type of the method must either be a type (which is an interface) on its own (for a singleton sub-configuration), or a map of string to type in the case of a collection.
As with Config
the annotated methods of the interface are used to make the schema of the configuration. As
such, all methods must be annotated with Attribute
, Id
or SubConfig
, or have a default
implementation.
The annotated method MUST NOT have any parameters.
Config
Copyright © 2010-2017, ForgeRock All Rights Reserved.