throw new DeploymentException("Could not convert " + url + " to URL", e);
}
getJndiContextMap(componentContext).put(ENV + name, new URLReference(url));
unresolvedRefs.remove(name);
} else if (ORB.class.isAssignableFrom(iface)) {
CorbaGBeanNameSource corbaGBeanNameSource = (CorbaGBeanNameSource) corbaGBeanNameSourceCollection.getElement();
if (corbaGBeanNameSource == null) {
throw new DeploymentException("No orb setup but there is a orb reference");
}
AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
if (corbaName != null) {
Artifact[] moduleId = module.getConfigId();
Map context = getJndiContextMap(componentContext);
context.put(ENV + name, new ORBReference(moduleId, corbaName));
unresolvedRefs.remove(name);