jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: SPI: usage of java.util.Properties in interfaces
Date Fri, 27 Oct 2006 08:22:24 GMT
Marcel Reutegger schrieb:
> I think both approaches have their disadvantages. Using a map requires 
> casting to Strings (we currently have to stick with 1.4, I think) and 
> Properties class exposes methods like store and load which are useless 
> (or even dangerous).

Well, SPI already uses generic Collections in one other place, so I 
really don't buy that one :-)

Speaking of which, is there a particular reason why 
QNodeTypeDefinition.getDependencies returns a Collection, not a Set?

> I propose we change the RepositoryService interface and use the two 
> descriptor methods defined in javax.jcr.Repository: getDescriptorKeys() 
> and getDescriptor(). The implementation then can use whatever collection 
> it prefers.

That would work for me for this case.

Best regards, Julian



Mime
View raw message