ModeShape/modeshape — pull request #242 by rhauch (2011-12-12 23:26:29+00:00)
Title: MODE-1346 Initial prototype of BinaryStore (INCOMPLETE)

Implementation is incomplete, but this is a start. Little testing has been done; more will following in the next day or two.

FileSystemBinaryStore and TransientBinaryStore are implementation, and the engine is hooked up to use them. However, the RepositoryCache is not reference counting the SHA1s and is propagating the events when particular SHA1 are no longer needed.

Overall, this is a pretty clean implementation, since the BinaryFactory in the ExecutionContext is used by classes to create/store binary values as well as find them.

Advice and comments welcome.