11 Replies Latest reply on Feb 13, 2009 5:17 AM by Ales Justin

    Deployment contextual information

    David Lloyd Master

      Do deployments have a notion of contextual information? Like, deployment X is associated with context classloader Y or security context Z?

      I'm struggling with this idea in the Threads module. The case I'm thinking of is that say you have two deployments, X and Y. They both use the same thread pool. But they need to have different contextual information - context classloader is just one example; logging context might be another, or security context or even something trivial like a temporary name attached to the thread name or something like that. When each deployment runs a task, that task should be run with the proper contextual information set.

      Is there any provision for accessing deployment contextual information at a MC level?