[jboss-jira] [JBoss JIRA] Created: (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:22:16 EDT 2008


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