[ 
https://issues.apache.org/jira/browse/OWB-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906602#action_12906602
 ] 

Eric Covener commented on OWB-447:
----------------------------------

we also need to avoid adding the underlying ejb instance 
(ejbcontext.getTarget()) as keys into dependent creational contexts.

> unnecessary contextual/non-contextual distinction in 
> OpenWebBeansEJBIntercpetor
> -------------------------------------------------------------------------------
>
>                 Key: OWB-447
>                 URL: https://issues.apache.org/jira/browse/OWB-447
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Enterprise Web Beans
>    Affects Versions: 1.0.0-alpha-2
>            Reporter: Eric Covener
>            Assignee: Eric Covener
>   Original Estimate: 16h
>  Remaining Estimate: 16h
>
> The separation between contextual and non-contextual is wrong/harmful and 
> unnecessary.  
> * We should be managing a CreationalContext for the lifetime of the 
> interceptor instance and using that for dependent instanes
> * We should not rely on the thread-locals beyond @PostConstruct 
> * Method invocations on non-contextual EJB's must be decoratable

-- 
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