[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1647) @Resource injection of primitive types from JNDI
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Wed Jan 21 20:19:15 EST 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lee Rubinger updated EJBTHREE-1647:
------------------------------------------
Fix Version/s: 1.0.1-GA
(was: 1.0.0-CR2)
Priority: Major (was: Blocker)
This is a bug, not a problem with backwards-compatibility. Documentation: http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html_single/index.html#references
Not a blocker for 1.0.0-GA, setting to 1.0.1 series.
> @Resource injection of primitive types from JNDI
> ------------------------------------------------
>
> Key: EJBTHREE-1647
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-1647
> Project: EJB 3.0
> Issue Type: Bug
> Components: injection
> Affects Versions: AS 4.2.1.GA
> Reporter: Dennis Reed
> Assignee: Andrew Lee Rubinger
> Fix For: 1.0.1-GA
>
>
> The following does not work to inject an arbitrary JNDI entry for primitive/primitive wrapper/String fields:
> @Resource( mappedName = "java:/blah/blah" )
> String myVar;
> In older versions, a "NYI" exception was thrown (then changed to a different exception before getting to the user).
> In newer versions, the literal value in mappedName is injected.
> For all other types, the JNDI entry injection works. For example, the following does inject that same String from JNDI:
> @Resource( mappedName = "java:/blah/blah" )
> Object myVar;
--
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