Hi everybody,
I got a little � strange � question to submit ...
I'm using turbine/torque/velocity.
Well, all objects in my application are "tracked" with a dedicated manager, in
order to always have a trace of any operation done.
In reality, all "save" method of all objects have been rewrited to get RunData
in parameter in order to be able to get some extra-information like the current
user.
And the track manager is called from thoses "save" methods.
My problem is that we would like to delay one treatment, which is really heavy,
using the scheduler service.
And of course, when my treatment is called by the scheduler service, every
"save" method fails because no RunData is found ...
So, my question is :
Is there any way to "serialize" the Rundata in order to put it in parameter of
my scheduler task (which needs bytes array), and to re-create it from this
parameter in my called class ?
My first look at the RunData javadocs was unsuccessful : none RunData method
doing this seems to exist ...
Have you got any idea to avoid this problem ?
Thanks all.
==================================
Fr�d�ric Kerneuzet
==================================