[jboss-jira] [JBoss JIRA] Commented: (JBAS-9303) @Resource(lookup="java:module/ModuleName") doesnt work
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Thu Apr 14 11:21:33 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595637#comment-12595637 ]
jaikiran pai commented on JBAS-9303:
------------------------------------
Can you please attach a sample application? Will make it easier to quickly test this.
> @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