[jboss-user] [JBoss AOP] - Re: Metadata Scope

system.out do-not-reply at jboss.com
Wed Aug 15 12:13:00 EDT 2007

I replaced invocation.setMetaData(metadata) with 
ThreadMetaData.instance().addMetaData(arg1, arg2, arg3) and now it is working!

 Based on API documentation:
invocation.setMetaData() and invocation.getMetaData() will Set/Return all the contextual data attached to this invocation.  Wondering why invocation.setMetaData() scope is different from invocation.getMetaData(). 

In otherwords, why invocation.setMetaData(metadata) doesn't do the same as ThreadMetaData.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074494#4074494

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074494

More information about the jboss-user mailing list