[ 
https://issues.apache.org/jira/browse/OWB-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gurkan Erdogdu closed OWB-250.
------------------------------

       Resolution: Fixed
    Fix Version/s: M4

> Update Extensions Event Calling More TypeSafe & Adding more tests for 
> Extensions
> --------------------------------------------------------------------------------
>
>                 Key: OWB-250
>                 URL: https://issues.apache.org/jira/browse/OWB-250
>             Project: OpenWebBeans
>          Issue Type: Improvement
>            Reporter: Gurkan Erdogdu
>            Assignee: Gurkan Erdogdu
>             Fix For: M4
>
>
> Currently extension @Observer method calling is not type safe with respect to 
> parametrized type actual arguments. We have to update code to reflect 
> extesions observer methods paramertiezed type arguments. For example, 
> currently all registered Extension's methods  with parameter @Observes 
> ProcessBean<X> gets all processed beans by the container. By including type 
> parameters for example, below extension method is only called by the 
> container if processed bean is Apple otherwise is not called.
> public void observeApple(@Observes ProcessBean<Apple> event {})

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to