Action beans should/must be "prototype" scope ?

Cantor, Scott cantor.2 at osu.edu
Thu Feb 6 10:09:48 EST 2014


On 2/6/14, 4:24 AM, "Rod Widdowson" <rdw at steadingsoftware.com> wrote:

>I was wondering whether we can protect against this?  Prototype-bean
>actions
>should never see a #preExecute after an #execute(), right?  So could we
>set
>a flag in execute and test it in #preExecute().  If we did this somewhere
>deep in the class hierarchy we would get a lot of bang for our buck.

That doesn't sound like a crazy idea.

-- Scott




More information about the dev mailing list