[cdi-dev] [JBoss JIRA] (CDI-633) Intoroduce BeanManager.event()

Sven Linstaedt (JIRA) issues at jboss.org
Tue Sep 20 07:58:00 EDT 2016


    [ https://issues.jboss.org/browse/CDI-633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295614#comment-13295614 ] 

Sven Linstaedt commented on CDI-633:
------------------------------------

For the current more extension-related BeanManager API ({{BeanManager#fire}}), which is not capable of handling event type narrowing by a specific {{java.lang.reflect.Type}}, a similar solution would be nice too.

> Intoroduce BeanManager.event()
> ------------------------------
>
>                 Key: CDI-633
>                 URL: https://issues.jboss.org/browse/CDI-633
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>            Reporter: Martin Kouba
>             Fix For: 2.0 (discussion)
>
>
> * this would allow to define the _specified type_ - the container may use the specified type to infer the parameterized type of the event types
> * the method should return {{javax.enterprise.event.Event<Object>}} with no qualifiers



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list