[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-989) Can't inject resources of type URL
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Tue Jul 3 12:02:57 EDT 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-989?page=all ]
Carlo de Wolf updated EJBTHREE-989:
-----------------------------------
Affects Version/s: AS 4.2.0 GA
Description:
All constructs leading into injection of an URL do not work.
@Stateless
@Remote(ResUrlChecker.class)
@Resources({
@Resource(name="url3", type=java.net.URL.class, mappedName="http://localhost/url3")
})
public class ResUrlCheckerBean implements ResUrlChecker
{
@Resource(mappedName="http://localhost")
private URL url1;
// coming in via res-url
@Resource(name="url2")
private URL url2;
}
> Can't inject resources of type URL
> ----------------------------------
>
> Key: EJBTHREE-989
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-989
> Project: EJB 3.0
> Issue Type: Bug
> Affects Versions: AS 4.2.0 GA
> Reporter: Carlo de Wolf
> Assigned To: Carlo de Wolf
> Fix For: EJB 3.0 RC11 - FD
>
>
> All constructs leading into injection of an URL do not work.
> @Stateless
> @Remote(ResUrlChecker.class)
> @Resources({
> @Resource(name="url3", type=java.net.URL.class, mappedName="http://localhost/url3")
> })
> public class ResUrlCheckerBean implements ResUrlChecker
> {
> @Resource(mappedName="http://localhost")
> private URL url1;
>
> // coming in via res-url
> @Resource(name="url2")
> private URL url2;
> }
--
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