[ 
https://issues.apache.org/jira/browse/OAK-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934974#comment-13934974
 ] 

Chetan Mehrotra commented on OAK-1502:
--------------------------------------

bq. How is setting blobStore.cardinality.minimum to 1 different from 
cardinality=1..1 or cardinality=1..n ?

Its not. By default it would have been 0..1 i.e. optional. System administrator 
can then set it the minimum to 1(required) even he wants to specify a BlobStore 
and DS would ensure that component is not activated untill all such required 
references are satisfied

> Make DataStores available to NodeStores
> ---------------------------------------
>
>                 Key: OAK-1502
>                 URL: https://issues.apache.org/jira/browse/OAK-1502
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Chetan Mehrotra
>             Fix For: 0.19
>
>         Attachments: OAK-1502.patch
>
>
> For OAK-805 and related issues we need a mechanism for making Jackrabbit 
> DataStores instances available to NodeStore implementations so that they can 
> look up references to binaries stored in such datastores.
> In an OSGi environment the best approach is probably to have DataStores as 
> OSGi services that the NodeStore can look up dynamically through the 
> Whiteboard mechanism. In plain old Java we can just pass a DataStore 
> reference to a NodeStore during initialization.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to