users@glassfish.java.net

Re: tmueller wrote:Yes. See here

From: <forums_at_java.net>
Date: Mon, 4 Apr 2011 14:59:29 -0500 (CDT)

Cheers, however I seem to be unable to inject anything into resourceadapter
class - It doesn't seem to be managed in the usual way for container created
objects.... (do I need to annotate it with something?) I've tried
@javax.annotation.Resource as in the example, with no luck. The oracle docs
mention using @Inject, but don't state which form, I'd assumed
org.jvnet.hk2.annotations.Inject but couldn't find a jar to include resolv
the import. I've probably got the blinkers on again and missing something
obvious.

 

Thanks for your continued help

 

John


--
[Message sent by forum member 'jsl123']
View Post: http://forums.java.net/node/781136