On 24/02/2013 05:49, Dan Ziegelbein wrote:
> The reason you're getting NPE's is that your instances of APICommand are
> not themselves injected by the container (you are instantiating them in
> code somewhere...indicated by the fact that APICommand has a
> non-injected parameterized constructor).
Hi Dan & thanks for this,
I looked more at this and realised I need to do as you say, and it seems
I need Webbeans and the @Component annotation, plus token
META-INF/web-beans.xml to mark it as so? If that's right, I'm now
struggling to even get the @Component to resolve - does the webbeans
package come with Resin or is it an external download?
-- Carl Whalley
resin-interest mailing list