jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject refactoring the persistence managers
Date Tue, 17 Oct 2006 13:36:05 GMT
hi,
currently the persistence managers reside in:
  org.apache.jackrabbit.core.state
  org.apache.jackrabbit.core.state.db
  org.apache.jackrabbit.core.state.mem
  org.apache.jackrabbit.core.state.obj
  org.apache.jackrabbit.core.state.xml
  (org.apache.jackrabbit.core.state.util)

there are also a lot of other classes that deal with states (eg:
SharedItemStateManager) in the state package that do not relate to
pms.

i would like to move all persistencemanagers and pm related stuff to:

  org.apache.jackrabbit.core.persistence

and drop the 'db', 'mem', 'obj', 'xml' sub-packages.

because the configurations in the workspaces use fully qualified class
names, i would put legacy classes in the old places that extend the
new ones and put them into some sort of compat.jar. or we could
introduce a more general class-mapping in the configuration that mapps
FQN to classes (which i prefer).

opinions?

btw: as soon there is more response/consensus on this issue, i will
create a proper jira issue and suggest a patch.

regards, toby
-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message