Hello, 

I am trying figure out how I can get a hold of objects from within action 
handlers. 

Specifically, I have an Email service singleton that is held in the application 
context of our Tomcat instance. I would like to use this service in the action 
handlers, but I cant think how to get a handle to it. The best way I have so 
far is to set it as a transient variable, but this means I would have to do 
this every time I retrieve the ProcessInstance from the database. This is 
possible, but it doesn?t seem very elegant. 

Are there any other suggestions?

Thanks, 

toby

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to