Hi,
I cannot seem to find a way to load my custom CND files in OAK. Previously,
using jackrabbit, this was done via jackrabbit’s implementation of
NodeTypeManager, e.g.,
NodeTypeManagerImpl manager = (NodeTypeManagerImpl) session.getWorkspace()
.getNodeTypeManager();
InputStream is =
getClass().getClassLoader().getResourceAsStream(cndFileResource);
manager.registerNodeTypes(is, "text/x-jcr-cnd", true);
I do not see anything like this .registerNodeTypes() method on oak’s
implementation of NodeTypeManager. Please advise.
Thanks in advance!
Daniel Sbityakov
Technical Architect
Services for Managed Applications
1 919 698 2054 Mobile
[email protected]
[signature_3499681884]