Yup, a good question.
Unfortunately it is asked for every lookup.
But I guess you can implement some short circle check.
e.g. if (name.startsWith("jndi") == false) return null;
Or something similar.
Then the performance wouldn't be a huge issue.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250178#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...