]
Martin Kouba commented on CDI-733:
----------------------------------
It should use both. The problem with {{java.lang.reflect.Type}} param is type safety which
cannot be guaranteed. FYI Weld API already allows to use {{Type}} parameter for
{{Event<Object>}}:
javax.enterprise.event.Event#select shouldnt use TypeLiteral but
Type
---------------------------------------------------------------------
Key: CDI-733
URL:
https://issues.jboss.org/browse/CDI-733
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Romain Manni-Bucau
Priority: Minor
Goal is to enable a bit more meta programming and in particular instantiation of custom
parameterized type of events, currently it requires to go through the bean manager whereas
the event would be a natural place to resolve an event.