Annotation Type GenericResolvable
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface GenericResolvable
Created 02.10.12 19:25 Use this annotation in the bean implementation classes to in case you need Spring to take into account generic parameters of a parent class. Note. Annotation is only applicable to a non-generic class due to a Java reflection and generics support limitation For example. We use this annotation on the server-side to allow spring properly resolve different bean for dependencies like EventDispatcher[ServerListener] or EventDispatcher[BuildServerListener] and so on- Since:
- 8.0
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
- See Also:
GenericParametersAutowireCandidateResolver
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>
rawType
java.lang.Class<?>[]
typeArguments
rawType()
type type parameters.
-
-
-
-
typeArguments
@NotNull java.lang.Class<?>[] typeArguments
rawType()
type type parameters. We do not consider here any generic type parameters to simplify things- Returns:
- array of generic type parameters
- Since:
- 8.o
-
-