Hi!
In my spring's config I need invoke method "get" (java.lang.ThreadLocal's instance object). How I can do it without creating new class with "correct" method's naming (smt like "getValue" instead of "get")?
Thanks.
Hi!
In my spring's config I need invoke method "get" (java.lang.ThreadLocal's instance object). How I can do it without creating new class with "correct" method's naming (smt like "getValue" instead of "get")?
Thanks.
You can't. EL is following the JavaBeans convention. You have two options:
getThreadLocalValue()
and access it via bean.threadLocalValue