jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: SPI caching, was: [jira] Resolved: (JCR-1361) Lock testassumesthat changes in one session are immediately visible in differentsession
Date Wed, 13 Feb 2008 10:10:20 GMT
David Rauschenbach wrote:
> In other words:
> 
>   1. You call getDescriptors on the repository, not the session. SPI
> needs to reflect that.

that's why you can call RepositoryService.getDescriptors() without a SessionInfo.

>   2. Repository factories and configuration are not addressed by JSR170,
 > but SPI has to allow it to occur anyway.

so far we did not deal with initialization of an SPI implementation, but feel 
free to suggest a factory mechanism.

please note, that JSR 283 introduces a standard way how to obtain a repository 
instance though a fectory mechanism.

regards
  marcel

Mime
View raw message