You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Julian Reschke <ju...@gmx.de> on 2006/10/30 12:31:55 UTC

SPI: RepositoryService Interface vs Namespace Registry

Hi,

another request for clarification...

Right now, it seems that the SPI still contains session-level namespace 
prefix registrations. My original impression of the SPI was that we 
wouldn't need that, and all session-level prefix mapping would be local 
to the transient level. Did I miss something here...?

Best regards, Julian

Re: SPI: RepositoryService Interface vs Namespace Registry

Posted by Julian Reschke <ju...@gmx.de>.
Marcel Reutegger schrieb:
> Julian Reschke wrote:
>> Right now, it seems that the SPI still contains session-level 
>> namespace prefix registrations. My original impression of the SPI was 
>> that we wouldn't need that, and all session-level prefix mapping would 
>> be local to the transient level. Did I miss something here...?
> 
> your original impression is correct. which specific method are you 
> worried about containing a session local prefix mapping?

Marcel,

thanks a lot. I was reading things into the fact that the namespace 
related methods on RepositoryService take a SessionInfo parameter, so 
somehow I got to the conclusion that there's a relation to a JCR Session 
somewhere.

Sorry for the confusion.

Best regards, Julian

Re: SPI: RepositoryService Interface vs Namespace Registry

Posted by Marcel Reutegger <ma...@gmx.net>.
Julian Reschke wrote:
> Right now, it seems that the SPI still contains session-level namespace 
> prefix registrations. My original impression of the SPI was that we 
> wouldn't need that, and all session-level prefix mapping would be local 
> to the transient level. Did I miss something here...?

your original impression is correct. which specific method are you worried about 
containing a session local prefix mapping?

regards
  marcel