public _CodeBaseStub(org.omg.CORBA.portable.Delegate delegate) { super(); _set_delegate(delegate); }
public static org.jboss.com.sun.org.omg.SendingContext.CodeBase read(org.omg.CORBA.portable.InputStream istream) { return narrow(istream.read_Object(_CodeBaseStub.class)); }
public static org.jboss.com.sun.org.omg.SendingContext.CodeBase extract(org.omg.CORBA.Any a) { return read(a.create_input_stream()); }
public org.jboss.com.sun.org.omg.CORBA.Repository get_ir() { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("get_ir", true); _in = _invoke(_out); org.jboss.com.sun.org.omg.CORBA.Repository __result = org.jboss.com.sun.org.omg.CORBA.RepositoryHelper .read(_in); return __result; } catch (org.omg.CORBA.portable.ApplicationException _ex) { _in = _ex.getInputStream(); String _id = _ex.getId(); throw new org.omg.CORBA.MARSHAL(_id); } catch (org.omg.CORBA.portable.RemarshalException _rm) { return get_ir(); } finally { _releaseReply(_in); } } // get_ir
public static org.jboss.com.sun.org.omg.SendingContext.CodeBase narrow(org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.jboss.com.sun.org.omg.SendingContext.CodeBase) return (org.jboss.com.sun.org.omg.SendingContext.CodeBase) obj; else if (!obj._is_a(id())) throw new org.omg.CORBA.BAD_PARAM(); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate(); return new org.jboss.com.sun.org.omg.SendingContext._CodeBaseStub(delegate); } }
private Vector<FullValueDescription> getOrderedDescriptions(String repositoryID, org.jboss.com.sun.org.omg.SendingContext.CodeBase sender) { Vector<FullValueDescription> descs = new Vector<FullValueDescription>(); if (sender == null) { return descs; } FullValueDescription aFVD = sender.meta(repositoryID); while (aFVD != null) { descs.insertElementAt(aFVD, 0); if ((aFVD.base_value != null) && !kEmptyStr.equals(aFVD.base_value)) { aFVD = sender.meta(aFVD.base_value); } else return descs; } return descs; }
synchronized public static org.omg.CORBA.TypeCode type() { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init().create_interface_tc( org.jboss.com.sun.org.omg.SendingContext.CodeBaseHelper.id(), "CodeBase"); } return __typeCode; }
public org.jboss.com.sun.org.omg.CORBA.Repository get_ir() { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("get_ir", true); _in = _invoke(_out); org.jboss.com.sun.org.omg.CORBA.Repository __result = org.jboss.com.sun.org.omg.CORBA.RepositoryHelper .read(_in); return __result; } catch (org.omg.CORBA.portable.ApplicationException _ex) { _in = _ex.getInputStream(); String _id = _ex.getId(); throw new org.omg.CORBA.MARSHAL(_id); } catch (org.omg.CORBA.portable.RemarshalException _rm) { return get_ir(); } finally { _releaseReply(_in); } } // get_ir
public static org.jboss.com.sun.org.omg.SendingContext.CodeBase narrow(org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.jboss.com.sun.org.omg.SendingContext.CodeBase) return (org.jboss.com.sun.org.omg.SendingContext.CodeBase) obj; else if (!obj._is_a(id())) throw new org.omg.CORBA.BAD_PARAM(); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate(); return new org.jboss.com.sun.org.omg.SendingContext._CodeBaseStub(delegate); } }
public _CodeBaseStub(org.omg.CORBA.portable.Delegate delegate) { super(); _set_delegate(delegate); }
private Vector<FullValueDescription> getOrderedDescriptions(String repositoryID, org.jboss.com.sun.org.omg.SendingContext.CodeBase sender) { Vector<FullValueDescription> descs = new Vector<FullValueDescription>(); if (sender == null) { return descs; } FullValueDescription aFVD = sender.meta(repositoryID); while (aFVD != null) { descs.insertElementAt(aFVD, 0); if ((aFVD.base_value != null) && !kEmptyStr.equals(aFVD.base_value)) { aFVD = sender.meta(aFVD.base_value); } else return descs; } return descs; }
synchronized public static org.omg.CORBA.TypeCode type() { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init().create_interface_tc( org.jboss.com.sun.org.omg.SendingContext.CodeBaseHelper.id(), "CodeBase"); } return __typeCode; }
public static org.jboss.com.sun.org.omg.SendingContext.CodeBase read(org.omg.CORBA.portable.InputStream istream) { return narrow(istream.read_Object(_CodeBaseStub.class)); }
public static org.jboss.com.sun.org.omg.SendingContext.CodeBase extract(org.omg.CORBA.Any a) { return read(a.create_input_stream()); }
private void readObject(java.io.ObjectInputStream s) { try { String str = s.readUTF(); org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init().string_to_object(str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate(); _set_delegate(delegate); } catch (java.io.IOException e) { } }
public static boolean isAssignableFrom(String clzRepositoryId, FullValueDescription type, org.jboss.com.sun.org.omg.SendingContext.CodeBase sender) { if (exists(clzRepositoryId, type.supported_interfaces)) return true; if (clzRepositoryId.equals(type.id)) return true; if ((type.base_value != null) && (!type.base_value.equals(""))) { FullValueDescription parent = sender.meta(type.base_value); return isAssignableFrom(clzRepositoryId, parent, sender); } return false; }
private void readObject(java.io.ObjectInputStream s) { try { String str = s.readUTF(); org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init().string_to_object(str); org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate(); _set_delegate(delegate); } catch (java.io.IOException e) { } }
public static boolean isAssignableFrom(String clzRepositoryId, FullValueDescription type, org.jboss.com.sun.org.omg.SendingContext.CodeBase sender) { if (exists(clzRepositoryId, type.supported_interfaces)) return true; if (clzRepositoryId.equals(type.id)) return true; if ((type.base_value != null) && (!type.base_value.equals(""))) { FullValueDescription parent = sender.meta(type.base_value); return isAssignableFrom(clzRepositoryId, parent, sender); } return false; }