jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Lombart <christophe.lomb...@gmail.com>
Subject Re: OCM Node Definitions
Date Thu, 02 Jul 2009 09:59:12 GMT
>
>
> So, summarizing, is it possible to load namespace definitions without the
> CND or an XML? just with annotations? Everything that's needed seems to be
> there already.
>

If you map some java classes to custom jcr node types, you have to register
those types into your repository with CND or XML JCR type def.

OCM Annotations (or the OCM xml mapping file) are just there to describe how
to map your java classes into JCR node types. This is not possible to load
new JCR node types or namespace with the OCM annotations (or the OCM xml
mapping file).

Let me know if you need more info.


Christophe

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message