[jboss-jira] [JBoss JIRA] Commented: (JBMETA-26) @Resource for env-envtries has no injection target metadata
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Sat Apr 26 15:03:09 EDT 2008
[ http://jira.jboss.com/jira/browse/JBMETA-26?page=comments#action_12410834 ]
Scott M Stark commented on JBMETA-26:
-------------------------------------
Turns out the client in question also has a partial application-client.xml entry:
<?xml version="1.0" encoding="UTF-8"?>
<application-client xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application-client_5.xsd"
version="5" id="ee5client-test">
<description>EE5 application client unit test</description>
<display-name>ee5client-test-client</display-name>
<env-entry>
<env-entry-name>msg</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>how are you?</env-entry-value>
</env-entry>
so the real issue is that merging of the annotation and xml information is not maintaining the annotation injection target information.
> @Resource for env-envtries has no injection target metadata
> -----------------------------------------------------------
>
> Key: JBMETA-26
> URL: http://jira.jboss.com/jira/browse/JBMETA-26
> Project: JBoss Metadata
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.0.Beta9
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: 1.0.0.Beta10
>
>
> I'm not seeing any ResourceInjectionTargetMetaData for a simple env-entry type of injection in an app client such as:
> public class HelloWorldClient
> {
> @Resource(name="msg")
> private static String msg;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list