Allows a thread-based context to be bound to some external instance storage (such as an HttpSession).
A context may be detachable in which case a call to
will detach the context from
it's associated storage. A detached context is still usable (instances may be added or removed) however changes will not be
written through to the underlying data store.
Normally, a detachable context will have it's underlying bean store attached on a call to
and detached on a call to
however a subtype of
may change this
<> the type of the external instance storage
has been called, further calls to
will be ignored, until the context has been subsequently
from the storage.
storagethe external storage