/* 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 {
/* 303 */ throw new IllegalArgumentException("@IIOP.poa can only be 'per-servant' or 'shared'");
/* */ }
/* */ }
/* */ ServantRegistryKind registryWithPersistentPOA;
/* */ ServantRegistryKind registryWithTransientPOA;
/* 305 */ this.servantRegistry = servantRegistries.getServantRegistry(registryWithTransientPOA);
/* 306 */ this.homeServantRegistry = servantRegistries.getServantRegistry(registryWithPersistentPOA);
/* */
/* 310 */ ObjectName on = this.container.getObjectName();
/* 311 */ this.wcl = new EJB3IIOPWebClassLoader(on, (RealClassLoader)this.container.getClassloader(), getJndiName());
/* 312 */ WebServiceMBean webServer = getWebServer();
/* 313 */ URL[] codebaseURLs = { webServer.addClassLoader(this.wcl) };