BlobStoreContext lifecycle management is not clear

Description

BlobStoreServiceImpl creates a BlobStoreContext on configuration change, this context is then returned from all calls to BlobStoreServiceImpl#getContext but we don't prevent the user from closing this context. In fact the website example code even suggests the context should be closed.
After closing the context the BlobStoreServiceImpl#getContext keeps returning the closed context.

We should either prevent users from closing the context OR make sure we don't return a context after it has been closed.

See also: http://www.mail-archive.com/user@jclouds.apache.org/msg01953.html

Assignee

Unassigned

Reporter

Bram Pouwelse

Labels

None

Priority

Major
Configure