The final piece of the puzzle is the metadata stack.
This is a stack of MetaData maintained by each component
as requests come in. You can imagine this as a generilzation
of the thread context classloader behavior.
The idea is that the contextual MetaData should be able to pass
under the wire of user interfaces.
Something like:
| repository.addStack(myMetaData);
| try
| {
| // do stuff
| }
| finally
| {
| repository.popStack(myMetaData);
| }
|
Later somebody can do:
| MetaData metaData = repository.peek();
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972234#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...