Config without this annotation@Target(value=TYPE)
@Retention(value=RUNTIME)
@Deprecated
public @interface SingletonConfig
Config interface and
it is a singleton.
The annotated class must have a static method that returns a singleton. The all constructors of the class must be private.
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
method
Deprecated.
The static method name that returns a singleton.
|