[jboss-jira] [JBoss JIRA] Commented: (JBMETA-80) Field-level @Resource annotation for SessionContext not placed in metadata
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Wed Jul 23 01:24:15 EDT 2008
[ https://jira.jboss.org/jira/browse/JBMETA-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12422174#action_12422174 ]
Andrew Lee Rubinger commented on JBMETA-80:
-------------------------------------------
Added a Unit Test (which just logs at the moment, no assertion failures) to show the issue
> Field-level @Resource annotation for SessionContext not placed in metadata
> --------------------------------------------------------------------------
>
> Key: JBMETA-80
> URL: https://jira.jboss.org/jira/browse/JBMETA-80
> Project: JBoss Metadata
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.0.Beta30
> Reporter: Andrew Lee Rubinger
> Assignee: Andrew Lee Rubinger
>
> Given a simple EJB:
> @Stateless
> @Local(BusinessInterface.class)
> public class SessionContextAnnotatedResourceBean implements BusinessInterface
> {
> @Resource
> public SessionContext context;
> }
> ...JBoss50Creator is not returning a Resource Reference.
> Perhaps I'm looking in the wrong places, but when running EJB3 Embedded in EJB3 Core Unit Tests, this value is not getting injected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list