Hi,
Am 24.04.2014 13:53, schrieb Jochen Kemnade:
But, to lessen the effect, couldn't we check if the attribute is
immutable and downgrade the write lock in that case?
or maybe we should just add a symbol to toggle support for persisting
mutable values in the session, defaulting to true of course.
Then we'd have the problem of knowing which classes are immutable. We
could easily solve this via a service though. Something along the lines of
contributeImmutableClasses(Configuration<Class> c){
c.add(String.class);
c.add(Integer.class);
// and then, in a custom module
c.add(MyCustomImmutableClass.class);
}
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]