for(; ejbs.hasNext();){ EjbDescriptor ejb = (EjbDescriptor) ejbs.next(); Iterator iorconfig = ejb.getIORConfigurationDescriptors().iterator(); for (;iorconfig.hasNext(); ){ EjbIORConfigurationDescriptor desc =
this.getIORConfigurationDescriptors().addAll(other.getIORConfigurationDescriptors()); this.transactionType = other.transactionType; this.ejbClassName = other.ejbClassName;
iorDescSet = ejbDesc.getIORConfigurationDescriptors();
Set iors = ejb.getIORConfigurationDescriptors(); if (iors != null) { Iterator iorsi = iors.iterator();
Set iors = ejb.getIORConfigurationDescriptors(); if (iors != null) { Iterator iorsi = iors.iterator();
Set<EjbIORConfigurationDescriptor> iorDescSet = desc.getIORConfigurationDescriptors(); int size = iorDescSet.size(); if (size == 0) {
public void accept(EjbBundleDescriptor bundleDescriptor) { this.bundleDescriptor = bundleDescriptor; application = bundleDescriptor.getApplication(); super.accept(bundleDescriptor); /** set the realm name on each ejb to match the ones on this application * this is required right now to pass the stringent CSIv2 criteria * whereby the realm-name for the ejb being authenticated on * has to match the one on the application. We look at the IORConfigurator * descriptor * @todo: change the csiv2 layer so that it does not look at * IORConfiguratorDescriptor. * @see iiop/security/SecurityMechanismSelector.evaluateClientConformance. */ String rlm = application.getRealm(); if (rlm != null) { for(EjbDescriptor ejb : bundleDescriptor.getEjbs()) { for (EjbIORConfigurationDescriptor desc : ejb.getIORConfigurationDescriptors()) { desc.setRealmName(rlm); } } } }
Set iorConfigs = deploymentDescriptor.getIORConfigurationDescriptors();
for (Iterator iorIterator = ejbDescriptor.getIORConfigurationDescriptors().iterator(); iorIterator.hasNext();) { iorNode.writeDescriptor(ejbNode,RuntimeTagNames.IOR_CONFIG, (EjbIORConfigurationDescriptor) iorIterator.next());