Hi Florian,
On Tue, Mar 30, 2010 at 8:03 PM, Florian Müller <[email protected]> wrote:
> That's pretty accurate. I made a few changes and will add more details later.
> I've a few questions:
> - What's the repository registration for? What's the use case?
Registration in one part of the code and use in another.
For instance, registration of available repositories in some servlet
configuration code, or Nuxeo extension points, or any framework
configuration mechanism. Then user code just calls
RepositoryManager.getInstance().getRepository("default") to get the
default repo, however it's been configured. The idea is also to later
register automatically RepositoryService instances based on Java 6's
ServiceLoader.
> - Chemistry allows the definition of new property types. How is this mapped
> to AtomPub/Web Service?
It's not mapped for now. That's more for future extensibility than
current need, but changing from an enum to class-based constants is
always painful for user code if it's done late in the game. This can
be discussed of course.
I'll have a few questions of my own later in the afternoon :)
Florent
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87