nc = new NameComponent("ArraysUnions", "");
path = new NameComponent[] {nc};
namingContext.rebind(path, arraysUnions);
NamingContextExt nce = NamingContextExtHelper.narrow(orb.resolve_initial_references("NameService"));
refArraysSetter = nce.resolve(nce.to_name("ArraysSetter"));
refPrimitivesSetter = nce.resolve(nce.to_name("PrimitivesSetter"));
refTestObject = nce.resolve(nce.to_name("TestObject"));
refCalcObject = nce.resolve(nce.to_name("CalcObject"));
refObjectManager = nce.resolve(nce.to_name("ObjectManager"));
refEnumManager = nce.resolve(nce.to_name("EnumManager"));
refArraysUnions = nce.resolve(nce.to_name("ArraysUnions"));
} catch (Exception e) {
e.printStackTrace();
}
}