I'm pretty sure it'll `just work' - when jou inject a service with
<service> or <set-service> it'll give you the proxy instance which, in a
threaded model, will delegate to the appropriate thread-local-like
instance

        -Yori

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content
Sent: Tuesday, November 22, 2005 2:07 PM
To: [email protected]
Subject: Accessing threaded services in ServiceEncoder


I have an identity object configured as a hivemind <service> with
threaded 
model. It is configured at every request in a ServletFilter.

What I am wondering is how I can access the object from within a 
ServiceEncoder instance.

Since it is threaded model, I suppose that setting it as a property in 
construct will not give me the correct updated value.

So any idea how to access the service?

Henrik 




---------------------------------------------------------------------
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]

Reply via email to