[Building Sakai] quartz and hibernate

Steve Swinsburg steve.swinsburg at gmail.com
Wed Sep 21 23:09:48 PDT 2011


Hi James,

Does it really need to be in a Quartz job? Could you just fire off another thread to run the task? This is done all the time, especially for sending email. 

cheers,
Steve


On 22/09/2011, at 3:53 PM, Sloane, James wrote:

> Hi All,
>  
> Is there documentation somewhere on how to programmatically fire off a custom quartz job in Sakai (2.4) ?
> I’m wanting to take an object after a user has uploaded it, pass it to a job in a jobdatamap and process it in a background thread.
>  
> I wrote a job that extends JobDetailBean but came across issues with spring injection and adding a hibernate interceptor to start a new hibernate session.
>  
> Is there a sakai way of doing this, or has someone done this type of thing in sakai before?
>  
> Thanks,
> James
>  
> ------------------------------------------------------------------------
> James Sloane
> Solutions Programmer | Division of Information Technology
> 1 Ellis Street
> Thurgoona, 2640
> Australia
> Tel: +61 2 6051 9649
> Email: jsloane at csu.edu.au
> www.csu.edu.au
>  
> <csu-logo4a40.jpg>
> 
> |   ALBURY-WODONGA   |   BATHURST   |   CANBERRA   |   DUBBO   |   GOULBURN   |   ONTARIO   |   ORANGE    |   SYDNEY   |   WAGGA WAGGA   |
> 
> Give Generously - Support Young Australians
> You can help young Australians to go to University and succeed in their studies by giving generously to the Charles Sturt University Foundation. To find out more or to make a donation go to the Foundation web site. Australian donations are tax deductible.
> LEGAL NOTICE
> This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. Email should be checked for viruses and defects before opening. Charles Sturt University (CSU) does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with CSU may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at CSU. The views expressed in this email are not necessarily those of CSU.
> Charles Sturt University in Australia The Chancellery, Panorama Avenue, Bathurst NSW Australia 2795 (ABN: 83 878 708 551; CRICOS Provider Numbers: 00005F (NSW), 01947G (VIC), 02960B (ACT)). 
> Charles Sturt University in Ontario 860 Harrington Court, Burlington Ontario Canada L7N 3N4 Registration: www.peqab.ca
> 
> Consider the environment before printing this email. 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110922/babc09fc/attachment.html 


More information about the sakai-dev mailing list