SWF action beans and class variables safety
Etienne Dysli Metref
etienne.dysli-metref at switch.ch
Fri Mar 29 11:20:28 EDT 2019
On 29/03/2019 14.49, Cantor, Scott wrote:
>> Can one action bean instance be used by multiple threads (provided
>> it has scope=prototype)?
>
> No, due to how they get created. Actions are referenced by Spring
> when the transition to the state occurs in the flow conversation, and
> if it's a prototype, getBean causes a new object to be returned.
Thank you Scott, I'm reassured. :) Better not forget that
scope=prototype then...
Etienne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/dev/attachments/20190329/9881ac38/attachment-0001.sig>
More information about the dev
mailing list