ejb@glassfish.java.net

Re: EntityManager injection question

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Mon, 6 Nov 2006 18:07:34 +0100

Hi Jason,

On Mon, Nov 06, 2006 at 10:55:42AM -0600, Jason Lee wrote:
> It is my understanding that injection only works after the ctor has run.
> Until the ctor finishes, there really isn't an Object on which to work.
> If you need something to run before client code can use the object, you
> might look at @PostConstruct.

That is a very good suggestion. Thanks a lot!


Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"