History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: EJBTHREE-989
Type: Bug Bug
Status: Closed Closed
Resolution: Done
Priority: Major Major
Assignee: Carlo de Wolf
Reporter: Carlo de Wolf
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
EJB 3.0

Can't inject resources of type URL

Created: 07/Jun/07 04:17 AM   Updated: 08/Feb/08 02:48 AM
Component/s: None
Affects Version/s: AS 4.2.0 GA
Fix Version/s: AS 5.0.0.Beta3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Dependency
 
This issue is a dependency of:
JBPAPP-617 EJBTHREE-989: Can't inject resources ... Major Open


 Description  « Hide
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;
}

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
There are no comments yet on this issue.