lift/framework — pull request #1357 by Shadowfiend (2012-11-09 17:00:33+00:00)
Title: Add RestoringWeakReference

`RestoringWeakReference` contains a `scala.ref.WeakReference` that,
after it has been nulled out, uses a restorer function to restore
the value. This can be used for data that can afford to be evicted
by the garbage collector, but will be needed later. One good example
is Lift form callbacks, which may need the value of an object, but
where you don't necessarily want to be retaining the object
indefinitely while someone is on a page in the face of GC contention.

Examples are in the doc header.