[jira] [Commented] (TOMEE-888) @Context not available in cdi beans

2013-04-08 Thread John D. Ament (JIRA)

[ 
https://issues.apache.org/jira/browse/TOMEE-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13625384#comment-13625384
 ] 

John D. Ament commented on TOMEE-888:
-

IMHO, this should be backed out.  No other app server supports this.  Injection 
of HTTP elements should be done through producer methods or portable extensions 
that create the necessary producer methods.  @Context is not a valid CDI 
injection point.

 @Context not available in cdi beans
 ---

 Key: TOMEE-888
 URL: https://issues.apache.org/jira/browse/TOMEE-888
 Project: TomEE
  Issue Type: Bug
Reporter: Romain Manni-Bucau
Assignee: Romain Manni-Bucau
 Fix For: 1.6.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (TOMEE-888) @Context not available in cdi beans

2013-04-08 Thread Romain Manni-Bucau (JIRA)

[ 
https://issues.apache.org/jira/browse/TOMEE-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13625389#comment-13625389
 ] 

Romain Manni-Bucau commented on TOMEE-888:
--

I don't agree, that's common in some cases and it is in the CDI spirit which 
allows access to all @Resource of the container. It is just a + feature so it 
doesn't break a 100% standard app.

 @Context not available in cdi beans
 ---

 Key: TOMEE-888
 URL: https://issues.apache.org/jira/browse/TOMEE-888
 Project: TomEE
  Issue Type: Bug
Reporter: Romain Manni-Bucau
Assignee: Romain Manni-Bucau
 Fix For: 1.6.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira