openmicroscopy/openmicroscopy — pull request #2610 by joshmoore (2014-06-12 07:54:45+00:00)
Title: Fix managed rawfilestore (rebased onto develop)

This is the same as gh-2542 but rebased onto develop.

----

This PR was previously a part of https://github.com/openmicroscopy/openmicroscopy/pull/2242

The use of `ManagedRawFileStoreI.java` was never properly implemented so that the close/re-open logic needed by 2242 never worked. This should have zero impact on the existing code base. Only when clients start actively calling `getUploader().close() && getUploader()` should a difference be seen. Previously (as in 2242) this would throw an `ObjectNotExistException` since the `RawFileStorePrx` was being held on to. With this, the RFS should be re-opened.

Items that could be checked:
* Calls to `close()` on `RawFileStorePrx` instances cause no WARN/ERRORS in the Blitz-0.log file.
* Calling `getUploader()` returns an active instance
* Talking to an 5.0.1 server continues to work (this is the problem with 2242 as it stood as of 5.0.2. See 705b681)