[jboss-user] [EJB 3.0] - Re: Parameters by context
Andre1001
do-not-reply at jboss.com
Fri Aug 17 14:00:37 EDT 2007
Ok,
org.jboss.proxy.SecurityInterceptor gets definitions from System, SecurityAssociation, etc...
How can I get a variable from a client who can be any class with a ThreadLocal attached to it!?
For example,
ESBClient1:
public static ThreadLocal<String> language = new ThreadLocal<String>();
| language.set("pt");
|
ESBClient2:
public static ThreadLocal<String> language = new ThreadLocal<String>();
| language.set("en");
|
LanguageInterceptor:
ctx.getContextData().put("lingua", ??????????.language);
How can discover the caller class?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075316#4075316
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075316
More information about the jboss-user
mailing list