[jboss-jira] [JBoss JIRA] Created: (JBAS-9303) @Resource(lookup="java:module/ModuleName") doesnt work

Felix Ullrich (JIRA) jira-events at lists.jboss.org
Wed Apr 13 06:16:33 EDT 2011


 @Resource(lookup="java:module/ModuleName") doesnt work
-------------------------------------------------------

                 Key: JBAS-9303
                 URL: https://issues.jboss.org/browse/JBAS-9303
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB
    Affects Versions: 6.0.0.Final
            Reporter: Felix Ullrich
            Assignee: Carlo de Wolf


I cant inject the current application- or modulename with the resource-annotation in an EJB
This doesnt work:
{code:}
@Resource(lookup="java:module/ModuleName")
private String moduleName;
      
@Resource(lookup="java:app/AppName")
private String appName;
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list