Hey Achim,

i don't have access to the HttpServletRequest (well, that's not the whole truth, I can access it but it's not exactly clean). I'm just wondering how this is done in non-web threaded applications where you can't push the registry on to the threads, but the threads have to pull it?

If you control the starting and stopping of threads, that would be a good
point to bind the hivemind registry to a thread. Although that is not
necessarily needed.

So i guess there is no other way than subclassing the servletfilter and put a reference of the registry in a static context of a utility class there.

would be nice to have HM supporting that kind of static lookup anyways...

It wouldn't be complety clean design either to include a static lookup
in the hivemind filter. But subclassing could at least be made easier
by allowing protected access to the registry instance.

Achim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to