If a component is created in components.xml with a new name, for instance:
| <component name="newName"
| class="com.xyz.OriginalName" />
|
How can it find out its own name from within itself.
This is frequently needed when I outject a context variable, and at other times. I've
searched for a solution, and I have a feeling I'm missing something completely
obvious.
I of course realize that its easy to discover the name within a @Name annotation, but
that's not really as interesting as the real runtime name.
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082773#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...