⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _objecttokenhandler_stub.java

📁 j2ee源码
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
            ServantObject so = _servant_preinvoke("checkToken",com.leeman.common.handler.ObjectTokenHandler.class);
            if (so == null) {
                return checkToken(arg0);
            }
            try {
                ObjectTokenVO arg0Copy = (ObjectTokenVO) Util.copyObject(arg0,_orb());
                ObjectTokenVO result = ((com.leeman.common.handler.ObjectTokenHandler)so.servant).checkToken(arg0Copy);
                return (ObjectTokenVO)Util.copyObject(result,_orb());
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public void releaseToken(ObjectTokenVO arg0) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("releaseToken__com_leeman_common_entity_ObjectTokenVO", true);
                    out.write_value(arg0,ObjectTokenVO.class);
                    _invoke(out);
                    return;
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    releaseToken(arg0);
                    return;
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("releaseToken__com_leeman_common_entity_ObjectTokenVO",com.leeman.common.handler.ObjectTokenHandler.class);
            if (so == null) {
                releaseToken(arg0);
                return;
            }
            try {
                ObjectTokenVO arg0Copy = (ObjectTokenVO) Util.copyObject(arg0,_orb());
                ((com.leeman.common.handler.ObjectTokenHandler)so.servant).releaseToken(arg0Copy);
                return;
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public void releaseAllToken(String arg0, String arg1, String arg2) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("releaseAllToken__CORBA_WStringValue__CORBA_WStringValue__CORBA_WStringValue", true);
                    out.write_value(arg0,String.class);
                    out.write_value(arg1,String.class);
                    out.write_value(arg2,String.class);
                    _invoke(out);
                    return;
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    releaseAllToken(arg0,arg1,arg2);
                    return;
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("releaseAllToken__CORBA_WStringValue__CORBA_WStringValue__CORBA_WStringValue",com.leeman.common.handler.ObjectTokenHandler.class);
            if (so == null) {
                releaseAllToken(arg0, arg1, arg2);
                return;
            }
            try {
                ((com.leeman.common.handler.ObjectTokenHandler)so.servant).releaseAllToken(arg0, arg1, arg2);
                return;
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public boolean setToken(ObjectTokenVO arg0) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("setToken__com_leeman_common_entity_ObjectTokenVO", true);
                    out.write_value(arg0,ObjectTokenVO.class);
                    in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
                    return in.read_boolean();
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return setToken(arg0);
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("setToken__com_leeman_common_entity_ObjectTokenVO",com.leeman.common.handler.ObjectTokenHandler.class);
            if (so == null) {
                return setToken(arg0);
            }
            try {
                ObjectTokenVO arg0Copy = (ObjectTokenVO) Util.copyObject(arg0,_orb());
                return ((com.leeman.common.handler.ObjectTokenHandler)so.servant).setToken(arg0Copy);
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public boolean setToken(ObjectTokenVO[] arg0) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("setToken__org_omg_boxedRMI_com_leeman_common_entity_seq1_ObjectTokenVO", true);
                    out.write_value(cast_array(arg0),ObjectTokenVO[].class);
                    in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
                    return in.read_boolean();
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return setToken(arg0);
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("setToken__org_omg_boxedRMI_com_leeman_common_entity_seq1_ObjectTokenVO",com.leeman.common.handler.ObjectTokenHandler.class);
            if (so == null) {
                return setToken(arg0);
            }
            try {
                ObjectTokenVO[] arg0Copy = (ObjectTokenVO[]) Util.copyObject(arg0,_orb());
                return ((com.leeman.common.handler.ObjectTokenHandler)so.servant).setToken(arg0Copy);
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }
                throw Util.wrapException(exCopy);
            } finally {
                _servant_postinvoke(so);
            }
        }
    }
    
    public void releaseToken(ObjectTokenVO[] arg0) throws Exception {
        if (!Util.isLocal(this)) {
            try {
                org.omg.CORBA_2_3.portable.InputStream in = null;
                try {
                    org.omg.CORBA_2_3.portable.OutputStream out = 
                        (org.omg.CORBA_2_3.portable.OutputStream)
                        _request("releaseToken__org_omg_boxedRMI_com_leeman_common_entity_seq1_ObjectTokenVO", true);
                    out.write_value(cast_array(arg0),ObjectTokenVO[].class);
                    _invoke(out);
                    return;
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    if (id.equals("IDL:java/lang/Ex:1.0")) {
                        throw (Exception) in.read_value(Exception.class);
                    }
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    releaseToken(arg0);
                    return;
                } finally {
                    _releaseReply(in);
                }
            } catch (SystemException ex) {
                throw Util.mapSystemException(ex);
            }
        } else {
            ServantObject so = _servant_preinvoke("releaseToken__org_omg_boxedRMI_com_leeman_common_entity_seq1_ObjectTokenVO",com.leeman.common.handler.ObjectTokenHandler.class);
            if (so == null) {
                releaseToken(arg0);
                return;
            }
            try {
                ObjectTokenVO[] arg0Copy = (ObjectTokenVO[]) Util.copyObject(arg0,_orb());
                ((com.leeman.common.handler.ObjectTokenHandler)so.servant).releaseToken(arg0Copy);
                return;
            } catch (Throwable ex) {
                Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
                if (exCopy instanceof Exception) {
                    throw (Exception)exCopy;
                }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -