@Retention(value=RUNTIME) @Target(value=METHOD) public @interface SubConfig
The return type of the method must either be a org.forgerock.openam.sm.annotations.subconfigs.Singleton of the type
(which is an interface) for a singleton sub-configuration, or a
org.forgerock.openam.sm.annotations.subconfigs.Multiple
of the 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-2018, ForgeRock All Rights Reserved.