Manages a set of beans within a named scope. The beans will be
automatically preserved to the nominated TokenStateHolder at the end of
every action request, and restored at the beginning of every request.
The beans in storage will expire on the natural expiry of the TSH, or on
triggering of destruction through one of the destroy methods
on this bean, whichever is sooner.
author: Antranig Basman (antranig@caret.cam.ac.uk)
setAlwaysPreserve(boolean alwaysPreserve) Set to true if this is a "bad" kind of scope (with the
potential to violate HTTP semantics) that requires to be preserved
on RENDER cycles as well as ACTION cycles.
public void setAlwaysPreserve(boolean alwaysPreserve)(Code)
Set to true if this is a "bad" kind of scope (with the
potential to violate HTTP semantics) that requires to be preserved
on RENDER cycles as well as ACTION cycles.
Set to true if multiple requests are to be prevented
from accessing this scope simultaneously. A second request trying to
access the same scope will block in its alterationWrapper until
the first has concluded.