T
- the type provided by this classpublic interface ContextualTypeProvider<T>
IOCProvider
Modifier and Type | Method and Description |
---|---|
T |
provide(Class<?>[] typeargs,
Annotation[] qualifiers)
Called to provide an instance of the type provided for by this type provider.
|
T provide(Class<?>[] typeargs, Annotation[] qualifiers)
typeargs
- the raw class values of the outer-most type arguments. For example, if the injection point
is of the type Map<String, List<? extends Number<>> then the values
passed to this argument will be [String.class, List.class].qualifiers
- and array of qualifiers at the injection point.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.