DelegateContext is too eager in caching URL contexts
----------------------------------------------------

                 Key: ARIES-540
                 URL: https://issues.apache.org/jira/browse/ARIES-540
             Project: Aries
          Issue Type: Bug
          Components: JNDI
    Affects Versions: 0.3
            Reporter: Valentin Mahrwald
            Assignee: Valentin Mahrwald


In some enterprise integration scenarios, it is not appropriate to cache URL 
contexts. For example java:comp env lookups can depend on thread contexts and 
return different results for the same InitialContext when used from inside 
different EJBs.

To maintain a level of performance we can still cache the ObjectFactory that 
creates the URL context and so avoid service registry lookups.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to