admin@glassfish.java.net

_at_Inject Server -- please use _at_Inject(name="server")

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 18 Sep 2008 15:58:07 -0700

Please use this:

     @Inject(name="server")
     Server server;

instead of this:

     @Inject
     Server server;

There is some kind of bug in HK2 that won't inject properly if the
'name' Attribute has key=true on it, which is a change I'm making as
part of Issue 6040 and some related AMX work. The key=true must be
set. Oddly, it's only 'Server' which has this issue, nothing else.

Lloyd

..............................................
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish team, LSARC member