Am 29.02.2008 um 13:11 schrieb Stefan Guggisberg:
huh? o.a.j.c.WorkspaceImpl implements the javax.jcr.Workspace
interface. seems pretty obvious to me ;)
what's confusing you WRT the naming?
Well, it's probably due to the API. The concept of a workspace is
represented by WorkspaceInfo, the interface Workspace and
WorkspaceImpl only represent a per-session view on the workspace. Same
goes with TransientRepository vs. RepositoryImpl, where you have this
inequality:
Repository rep = new TransientRepository(config, home);
Session session = rep.login();
assertEquals(rep, session.getRepository()); // fails
>> junit.framework.AssertionFailedError:
expected:<[EMAIL PROTECTED]> but
was:<[EMAIL PROTECTED]>
And all those ItemState stuff (no conceptual problems, but one doesn't
know what is used and what not)... Just confusing for the beginner. I
expected the main implementation details to be about the hierarchy
handling, but instead it is about the transient (session) part working
together with the persistence backend.
Ok, enough rant, you did a great job with such a completely new
database model!
Alex
--
Alexander Klimetschek
[EMAIL PROTECTED]