/* */ }
/* */ catch (NamingException e) {
/* 272 */ throw new Exception("Cannot lookup java:/" + CorbaORBService.IR_POA_NAME + ": " + e);
/* */ }
/* */
/* 275 */ IIOP iiop = getIIOP();
/* 276 */ if (iiop.interfaceRepositorySupported())
/* */ {
/* 278 */ this.iri = new InterfaceRepository(this.orb, this.irPoa, getJndiName());
/* 279 */ this.iri.mapClass(remoteInterfaces[0]);
/* 280 */ if (homeInterface != null)
/* 281 */ this.iri.mapClass(homeInterface);
/* 282 */ this.iri.finishBuild();
/* */ }
/* */
/* 286 */ ObjectName invokerName = new ObjectName("jboss:service=invoker,type=iiop");
/* 287 */ ServantRegistries servantRegistries = (ServantRegistries)Registry.lookup(invokerName);
/* 288 */ if (servantRegistries == null)
/* 289 */ throw new Exception("can't find iiop invoker");
/* */ ServantRegistryKind registryWithPersistentPOA;
/* 292 */ if (iiop.poa().equals("per-servant"))
/* */ {
/* 294 */ ServantRegistryKind registryWithTransientPOA = ServantRegistryKind.TRANSIENT_POA_PER_SERVANT;
/* 295 */ registryWithPersistentPOA = ServantRegistryKind.PERSISTENT_POA_PER_SERVANT;
/* */ }
/* */ else
/* */ {
/* */ ServantRegistryKind registryWithPersistentPOA;
/* 297 */ if (iiop.poa().equals("shared"))
/* */ {
/* 299 */ ServantRegistryKind registryWithTransientPOA = ServantRegistryKind.SHARED_TRANSIENT_POA;
/* 300 */ registryWithPersistentPOA = ServantRegistryKind.SHARED_PERSISTENT_POA;
/* */ }
/* */ else {