// bind initial name public void bind(String name, org.omg.CORBA.Object obj, boolean isPersistant) throws com.sun.corba.se.spi.activation.InitialNameServicePackage.NameAlreadyBound { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request("bind", true); $out.write_string(name); org.omg.CORBA.ObjectHelper.write($out, obj); $out.write_boolean(isPersistant); $in = _invoke($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream(); String _id = $ex.getId(); if (_id.equals("IDL:activation/InitialNameService/NameAlreadyBound:1.0")) throw com.sun.corba.se.spi.activation.InitialNameServicePackage.NameAlreadyBoundHelper.read( $in); else throw new org.omg.CORBA.MARSHAL(_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { bind(name, obj, isPersistant); } finally { _releaseReply($in); } } // bind
public void _read(org.omg.CORBA.portable.InputStream i) { value = com.sun.corba.se.spi.activation.InitialNameServicePackage.NameAlreadyBoundHelper.read(i); }