Travis Klotz wrote: > The constructor is called when the class is actually instantiated by > the JVM. I really can't imagine there is any way to hook something > instance specific in before the constructor is called. Sure, I certainly know when constructor is called. Anyway, I did't know how Tapestry class enhancement works - I thought it might change the annotation to a field or sth like that.
But I checked it - the injected properties are given to the constructor of generated subclass. Besides - the @InjectObject is followed by an abstract method, therefore it's body is in generated subclass. So - it's not accessible yet in base class, as subclass's constructor is not called yet. Hm, answered myself... but maybe someone in the future might want to read this thread. -- Greets, Adam Czysciak [EMAIL PROTECTED] Sun Certified Programmer for the Java 2 Platform, SE 5 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
