[prev in list] [next in list] [prev in thread] [next in thread]
List: shibboleth-dev
Subject: Re: SWF action beans and class variables safety
From: Etienne Dysli Metref <etienne.dysli-metref () switch ! ch>
Date: 2019-03-29 15:20:28
Message-ID: e39ca299-03b1-c2a0-2729-abbb305e8210 () switch ! ch
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/mixed)]
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
["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list send an email to dev-unsubscribe@shibboleth.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic