📄 _objecttokenhandler_stub.java
字号:
throw Util.wrapException(exCopy);
} finally {
_servant_postinvoke(so);
}
}
}
public ObjectTokenVO[] checkSetToken(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("checkSetToken", true);
out.write_value(cast_array(arg0),ObjectTokenVO[].class);
in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
return (ObjectTokenVO[]) in.read_value(ObjectTokenVO[].class);
} 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 checkSetToken(arg0);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("checkSetToken",com.leeman.common.handler.ObjectTokenHandler.class);
if (so == null) {
return checkSetToken(arg0);
}
try {
ObjectTokenVO[] arg0Copy = (ObjectTokenVO[]) Util.copyObject(arg0,_orb());
ObjectTokenVO[] result = ((com.leeman.common.handler.ObjectTokenHandler)so.servant).checkSetToken(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 ObjectTokenVO[] validateToken(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("validateToken", true);
out.write_value(cast_array(arg0),ObjectTokenVO[].class);
in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
return (ObjectTokenVO[]) in.read_value(ObjectTokenVO[].class);
} 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 validateToken(arg0);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("validateToken",com.leeman.common.handler.ObjectTokenHandler.class);
if (so == null) {
return validateToken(arg0);
}
try {
ObjectTokenVO[] arg0Copy = (ObjectTokenVO[]) Util.copyObject(arg0,_orb());
ObjectTokenVO[] result = ((com.leeman.common.handler.ObjectTokenHandler)so.servant).validateToken(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 releaseTableToken(String arg0, String arg1) 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("releaseTableToken", true);
out.write_value(arg0,String.class);
out.write_value(arg1,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) {
releaseTableToken(arg0,arg1);
return;
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("releaseTableToken",com.leeman.common.handler.ObjectTokenHandler.class);
if (so == null) {
releaseTableToken(arg0, arg1);
return;
}
try {
((com.leeman.common.handler.ObjectTokenHandler)so.servant).releaseTableToken(arg0, arg1);
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 isUserToken(String arg0, String arg1) 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("isUserToken", true);
out.write_value(arg0,String.class);
out.write_value(arg1,String.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 isUserToken(arg0,arg1);
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("isUserToken",com.leeman.common.handler.ObjectTokenHandler.class);
if (so == null) {
return isUserToken(arg0, arg1);
}
try {
return ((com.leeman.common.handler.ObjectTokenHandler)so.servant).isUserToken(arg0, arg1);
} 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) 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", true);
out.write_value(arg0,String.class);
out.write_value(arg1,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);
return;
} finally {
_releaseReply(in);
}
} catch (SystemException ex) {
throw Util.mapSystemException(ex);
}
} else {
ServantObject so = _servant_preinvoke("releaseAllToken__CORBA_WStringValue__CORBA_WStringValue",com.leeman.common.handler.ObjectTokenHandler.class);
if (so == null) {
releaseAllToken(arg0, arg1);
return;
}
try {
((com.leeman.common.handler.ObjectTokenHandler)so.servant).releaseAllToken(arg0, arg1);
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);
}
}
}
// This method is required as a work-around for
// a bug in the JDK 1.1.6 verifier.
private Serializable cast_array(Object obj) {
return (Serializable)obj;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -