NameComponent nc = new NameComponent(details.getNamePath().get(i), "");
NameComponent[] path = new NameComponent[] {nc};
try {
namingCtx = NamingContextHelper.narrow(namingCtx.resolve(path));
} catch (Exception e) {
namingCtx = namingCtx.bind_new_context(path);
}
}
NameComponent finalName =
new NameComponent(details.getNamePath().get(details.getNamePath().size() - 1), "");
try {