I think Scott and I discussed this a little before, but I'd like to have the EJB and Web ENC be based on a ThreadLocal variable rather than using the context classloader for determining the ENC.
Specially, store it in org.jboss.aop.metadata.ThreadMetaData.
Bill