On 24.10.12 8:33, [email protected] wrote:
Author: angela
Date: Wed Oct 24 07:33:02 2012
New Revision: 1401571
URL: http://svn.apache.org/viewvc?rev=1401571&view=rev
Log:
OAK-392 : Review ContentSession#createBlob
- * BlobFactory... TODO
+ * BlobFactory...
+ * TODO review again if we really need/want to expose that in the OAK API
The consequences of not doing so is, that there is no way to create
blobs through the Oak API which are immediately streamed down to the
Microkernel.
+ * TODO in particular exposing this interface (and Blob) requires additional
thoughts on
+ * TODO - lifecycle of the factory,
+ * TODO - lifecycle of the Blob,
+ * TODO - access restrictions and how permissions are enforced on blob creation
+ * TODO - searchability, versioning and so forth
All these TODOs also apply to the blobs which get created through the
ValueFactory in oak-jcr and this was already the case before the
refactorings of OAK-350. What where the considerations there?
Michael
*/
public interface BlobFactory {