// Add all of the subcontexts in the fname
while (subContextNameEnum.hasMoreElements()) {
final String subContextName = subContextNameEnum.nextElement();
if (subContextNameEnum.hasMoreElements()) {
// Bind a new sub context if the current name component is not the leaf
nextContext = nextContext.createSubcontext(subContextName);
}
else {
nextContext.rebind(subContextName, instanceId.getNodeValue());
if (this.logger.isDebugEnabled()) {