[jboss-jira] [JBoss JIRA] Closed: (JBAS-9303) @Resource(lookup="java:module/ModuleName") doesnt work
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Fri Apr 15 12:02:33 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jaikiran pai closed JBAS-9303.
------------------------------
Assignee: jaikiran pai (was: Carlo de Wolf)
Resolution: Rejected
> @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: jaikiran pai
>
> 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