@Singleton public class InitBallotProvider extends Object implements ContextualTypeProvider<InitBallot<?>>
Constructor and Description |
---|
InitBallotProvider() |
Modifier and Type | Method and Description |
---|---|
InitBallot |
provide(Class<?>[] typeArguments,
Annotation[] qualifiers)
Called to provide an instance of the type provided for by this type provider.
|
public InitBallot provide(Class<?>[] typeArguments, Annotation[] qualifiers)
ContextualTypeProvider
provide
in interface ContextualTypeProvider<InitBallot<?>>
typeArguments
- 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.