use of org.apache.jackrabbit.spi.commons.nodetype.NodeDefinitionImpl in project jackrabbit by apache.
the class NodeTypeManagerImpl method getNodeDefinition.
/**
* Retrieve the <code>NodeDefinition</code> for the given
* <code>QNodeDefinition</code>.
*
* @param def
* @return
*/
@Override
public NodeDefinition getNodeDefinition(QNodeDefinition def) {
synchronized (ndCache) {
NodeDefinition ndi = ndCache.get(def);
if (ndi == null) {
ndi = new NodeDefinitionImpl(def, this, getNamePathResolver());
ndCache.put(def, ndi);
}
return ndi;
}
}
Aggregations