Hi John,
I believe it should be the required type of the injected Instance (which
is the type parameter specified at the injection point - defined in
"5.6.1. The Instance interface" and "5.5.7. Injection point metadata")
unless you modify the type using Instance.select().
getType() is tested in:
Hi,
I found a small issue within OWB. The closest found TCK test (found by
Romain) is
https://github.com/cdi-spec/cdi-tck/blob/master/impl/src/main/java/org/jb...
which
tests the Instance type, but not the value of InjectionPoint.getType().
What should be the return value of getType() here?
John
------------------------------------------------------------------------
NOTICE: This e-mail message and any attachments may contain
confidential, proprietary, and/or privileged information which should be
treated accordingly. If you are not the intended recipient, please
notify the sender immediately by return e-mail, delete this message, and
destroy all physical and electronic copies. Thank you.
_______________________________________________
cdi-dev mailing list
cdi-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev
Note that for all code provided on this list, the provider licenses the code under the
Apache License, Version 2 (
http://www.apache.org/licenses/LICENSE-2.0.html). For all other
ideas provided on this list, the provider waives all patent and other intellectual
property rights inherent in such information.