Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Use runtime string vals in the conversion pattern  RSS feed

 
Mark Gargin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

My application always has a tradeID associated with the session.
Is there anyway I could pass this tradeID to the conversion pattern so that
I wouldn't have to code it in the debug string each time?

session.getTradeID()

Thanks,
Mark.
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What "session" and "conversion pattern" and "debug string" are you asking about?
 
Mark Gargin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,

The session and user I'm talking about at threadlocal variables
that are set at runtime. Do you think this is possible?

Thanks,
Mark.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!