directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject [Partition refactoring] Some proposals
Date Thu, 03 Sep 2009 11:43:46 GMT
Hi guys,

right now, the Partition interface is used in two places :
- as the interceptor chain entry point
- as the facade for the specific backends (JDBM, LDIF, Oracle...)

We are using the same interface in both case.

What about defining two different interfaces ? One for the chain, one 
for the backend ?

The chain interface (ie, Partition, to keep the existing name), will 
carry the operations (add, delete, search...), the other interface, 
named BackendPartition, which expose a bit more methods, like the sync() 
method, get/set Id, get/set SuffixDn, etc.

Does it make sense to you ?

-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message