Stefan Guggisberg wrote:

in our current system we are able to extend nodetypes by adding properties or nodes after the nodetype has been initially created. These properties/childnodes
have to be non-mandatory.
As of now Jackrabbit doesn't support this. Are there any reason besides 'it's
just not implemented' why this is currently not possible?

trivial changes are supported, i.e. adding non-mandatory properties for example
should be fine. please take a look at the implementation of
NodeTypeRegistry.reregister()
and the javadoc of NodeTypeDefDiff.

Very nice! Didn't know that. How am I supposed to use the NodeTypeRegistry? I could use Workspace.getNodeTypeManager() cast it to NodeTypeManagerImpl and call getNodeTypeRegistry. But is there a better way to get the NodeTypeRegistry without knowing about NodeTypeManagerImpl?

Thanks,
Christoph

Reply via email to