It would be nice to have a special classloader which enhances arbitrary
classes (I mean not only components) based on it's annotations.
Does anyone know about such ClassLoader or ClassFileTransformer?
I have a very ugly but working "solution" for this: I subclassed
ApplicationServlet and I store the registry in a threadlocal at the
beginning of every request. So if I need a service outside of hivemind's
scope, I simply get the registry from the threadlocal and request the
service by name. I told it's ugly :D
I would be happy if someone would have a nicer solution :)
BR,
Norbi
----- Original Message -----
From: "Dan Adams" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Tuesday, October 04, 2005 8:38 PM
Subject: injecting services in ASO's
Does anyone know how to inject a service into an ASO? I'm really havin
some trouble with this.
--
Dan Adams
Software Engineer
Interactive Factory
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]