/* 152 */ log.debug("there is remote interfaces for " + this.container.getEjbName());
/* 153 */ String jndiName = ProxyFactoryHelper.getDefaultRemoteJndiName(this.container);
/* 154 */ log.debug("default remote binding has jndiName of " + jndiName);
/* 155 */ String uri = "";
/* 156 */ RemoteBinding[] list = { new RemoteBindingImpl(jndiName, "", uri, "RemoteProxyFactory") };
/* 157 */ this.remoteBindings = new RemoteBindingsImpl(list);
/* 158 */ this.container.getAnnotations().addClassAnnotation(RemoteBindings.class, this.remoteBindings);
/* */ }
/* */ }
/* */ else
/* */ {
/* 163 */ RemoteBinding[] list = { initializeRemoteBinding(binding) };
/* 164 */ this.remoteBindings = new RemoteBindingsImpl(list);
/* 165 */ this.container.getAnnotations().addClassAnnotation(RemoteBindings.class, this.remoteBindings);
/* */ }
/* */ }
/* */ else
/* */ {
/* 170 */ List list = new ArrayList();
/* 171 */ for (RemoteBinding binding : this.remoteBindings.value())
/* */ {
/* 173 */ list.add(initializeRemoteBinding(binding));
/* */ }
/* 175 */ this.remoteBindings = new RemoteBindingsImpl(list);
/* 176 */ this.container.getAnnotations().addClassAnnotation(RemoteBindings.class, this.remoteBindings);
/* */ }
/* */ }