on 5/16/01 7:39 AM, "Henning P. Schmiedehausen" <[EMAIL PROTECTED]>
wrote:

> Hi,
> 
> is it legal to keep a private reference to the RunData object handled
> down from the Turbine into an action method and reuse it?
> 
> In my concrete case, I have access to a RunData object at object
> creation time and currently I keep a copy of this object in a private
> variable in the new object, because I need it in some other methods of
> the object (namely for TableLinks) where I have no access to a RunData
> object.
> 
> Must I be prepared, that I could get another object everytime one of my
> methods is called by Turbine or will I always get the same object?
> 
> Regards
> Henning

All of your "Modules" must be thread safe.

RunData should *never* be kept longer than the life of one "access" to the
system.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to