📄 _ejsremotecmpobject_tokenhome_3a23ec87_tie.java
字号:
// Tie class generated by rmic, do not edit.
// Contents subject to change without notice.
package com.leeman.common.dao;
import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBMetaData;
import javax.ejb.FinderException;
import javax.ejb.Handle;
import javax.ejb.HomeHandle;
import javax.ejb.RemoveException;
import javax.rmi.CORBA.Util;
import org.omg.CORBA.BAD_OPERATION;
import org.omg.CORBA.SystemException;
import org.omg.CORBA.portable.UnknownException;
public class _EJSRemoteCMPObject_TokenHome_3a23ec87_Tie extends org.omg.CORBA_2_3.portable.ObjectImpl implements javax.rmi.CORBA.Tie {
private EJSRemoteCMPObject_TokenHome_3a23ec87 target = null;
private org.omg.CORBA.ORB orb = null;
private static final String[] _type_ids = {
"RMI:com.leeman.common.dao.EJSRemoteCMPObject_TokenHome_3a23ec87:0000000000000000",
"RMI:com.leeman.common.dao.Object_TokenHome:0000000000000000",
"RMI:javax.ejb.EJBHome:0000000000000000",
"RMI:com.leeman.common.dao.websphere_deploy.Object_TokenBeanInternalHome_3a23ec87:0000000000000000",
"RMI:com.ibm.websphere.csi.CSIServant:0000000000000000",
"RMI:com.ibm.websphere.csi.TransactionalObject:0000000000000000",
"RMI:javax.ejb.EJBObject:0000000000000000"
};
public void setTarget(java.rmi.Remote target) {
this.target = (EJSRemoteCMPObject_TokenHome_3a23ec87) target;
}
public java.rmi.Remote getTarget() {
return target;
}
public org.omg.CORBA.Object thisObject() {
return this;
}
public void deactivate() {
if (orb != null) {
orb.disconnect(this);
_set_delegate(null);
}
}
public org.omg.CORBA.ORB orb() {
return _orb();
}
public void orb(org.omg.CORBA.ORB orb) {
orb.connect(this);
}
public void _set_delegate(org.omg.CORBA.portable.Delegate del) {
super._set_delegate(del);
if (del != null)
orb = _orb();
else
orb = null;
}
public String[] _ids() {
return _type_ids;
}
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _in, org.omg.CORBA.portable.ResponseHandler reply) throws org.omg.CORBA.SystemException {
try {
org.omg.CORBA_2_3.portable.InputStream in =
(org.omg.CORBA_2_3.portable.InputStream) _in;
switch (method.length()) {
case 6:
if (method.equals("create")) {
return create(in, reply);
}
case 13:
if (method.equals("findTableLock")) {
return findTableLock(in, reply);
} else if (method.equals("findUserToken")) {
return findUserToken(in, reply);
}
case 14:
if (method.equals("findTableToken")) {
return findTableToken(in, reply);
}
case 15:
if (method.equals("_get_homeHandle")) {
return _get_homeHandle(in, reply);
}
case 16:
if (method.equals("_get_EJBMetaData")) {
return _get_EJBMetaData(in, reply);
} else if (method.equals("findByPrimaryKey")) {
return findByPrimaryKey(in, reply);
}
case 19:
if (method.equals("findByUserRecordKey")) {
return findByUserRecordKey(in, reply);
}
case 20:
if (method.equals("findUserSessionToken")) {
return findUserSessionToken(in, reply);
}
case 24:
if (method.equals("remove__java_lang_Object")) {
return remove__java_lang_Object(in, reply);
} else if (method.equals("remove__javax_ejb_Handle")) {
return remove__javax_ejb_Handle(in, reply);
}
}
throw new BAD_OPERATION();
} catch (SystemException ex) {
throw ex;
} catch (Throwable ex) {
throw new UnknownException(ex);
}
}
private org.omg.CORBA.portable.OutputStream remove__javax_ejb_Handle(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
Handle arg0 = (Handle) in.read_abstract_interface(Handle.class);
try {
target.remove(arg0);
} catch (RemoveException ex) {
String id = "IDL:javax/ejb/RemoveEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,RemoveException.class);
return out;
}
org.omg.CORBA.portable.OutputStream out = reply.createReply();
return out;
}
private org.omg.CORBA.portable.OutputStream remove__java_lang_Object(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
Object arg0 = Util.readAny(in);
try {
target.remove(arg0);
} catch (RemoveException ex) {
String id = "IDL:javax/ejb/RemoveEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,RemoveException.class);
return out;
}
org.omg.CORBA.portable.OutputStream out = reply.createReply();
return out;
}
private org.omg.CORBA.portable.OutputStream _get_EJBMetaData(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
EJBMetaData result = target.getEJBMetaData();
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
out.write_value((Serializable)result,EJBMetaData.class);
return out;
}
private org.omg.CORBA.portable.OutputStream _get_homeHandle(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
HomeHandle result = target.getHomeHandle();
org.omg.CORBA.portable.OutputStream out = reply.createReply();
Util.writeAbstractObject(out,result);
return out;
}
private org.omg.CORBA.portable.OutputStream create(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
String arg0 = (String) in.read_value(String.class);
String arg1 = (String) in.read_value(String.class);
String arg2 = (String) in.read_value(String.class);
Object_Token result;
try {
result = target.create(arg0, arg1, arg2);
} catch (CreateException ex) {
String id = "IDL:javax/ejb/CreateEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,CreateException.class);
return out;
}
org.omg.CORBA.portable.OutputStream out = reply.createReply();
Util.writeRemoteObject(out,result);
return out;
}
private org.omg.CORBA.portable.OutputStream findByPrimaryKey(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
Object_TokenKey arg0 = (Object_TokenKey) in.read_value(Object_TokenKey.class);
Object_Token result;
try {
result = target.findByPrimaryKey(arg0);
} catch (FinderException ex) {
String id = "IDL:javax/ejb/FinderEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,FinderException.class);
return out;
}
org.omg.CORBA.portable.OutputStream out = reply.createReply();
Util.writeRemoteObject(out,result);
return out;
}
private org.omg.CORBA.portable.OutputStream findUserSessionToken(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
String arg0 = (String) in.read_value(String.class);
String arg1 = (String) in.read_value(String.class);
String arg2 = (String) in.read_value(String.class);
Collection result;
try {
result = target.findUserSessionToken(arg0, arg1, arg2);
} catch (FinderException ex) {
String id = "IDL:javax/ejb/FinderEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,FinderException.class);
return out;
}
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
out.write_value((Serializable)result,Collection.class);
return out;
}
private org.omg.CORBA.portable.OutputStream findTableLock(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
String arg0 = (String) in.read_value(String.class);
String arg1 = (String) in.read_value(String.class);
String arg2 = (String) in.read_value(String.class);
Object_Token result;
try {
result = target.findTableLock(arg0, arg1, arg2);
} catch (FinderException ex) {
String id = "IDL:javax/ejb/FinderEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,FinderException.class);
return out;
}
org.omg.CORBA.portable.OutputStream out = reply.createReply();
Util.writeRemoteObject(out,result);
return out;
}
private org.omg.CORBA.portable.OutputStream findTableToken(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
String arg0 = (String) in.read_value(String.class);
String arg1 = (String) in.read_value(String.class);
Collection result;
try {
result = target.findTableToken(arg0, arg1);
} catch (FinderException ex) {
String id = "IDL:javax/ejb/FinderEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,FinderException.class);
return out;
}
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
out.write_value((Serializable)result,Collection.class);
return out;
}
private org.omg.CORBA.portable.OutputStream findByUserRecordKey(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
String arg0 = (String) in.read_value(String.class);
String arg1 = (String) in.read_value(String.class);
String arg2 = (String) in.read_value(String.class);
String arg3 = (String) in.read_value(String.class);
Object_Token result;
try {
result = target.findByUserRecordKey(arg0, arg1, arg2, arg3);
} catch (FinderException ex) {
String id = "IDL:javax/ejb/FinderEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,FinderException.class);
return out;
}
org.omg.CORBA.portable.OutputStream out = reply.createReply();
Util.writeRemoteObject(out,result);
return out;
}
private org.omg.CORBA.portable.OutputStream findUserToken(org.omg.CORBA_2_3.portable.InputStream in , org.omg.CORBA.portable.ResponseHandler reply) throws Throwable {
String arg0 = (String) in.read_value(String.class);
String arg1 = (String) in.read_value(String.class);
Collection result;
try {
result = target.findUserToken(arg0, arg1);
} catch (FinderException ex) {
String id = "IDL:javax/ejb/FinderEx:1.0";
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createExceptionReply();
out.write_string(id);
out.write_value(ex,FinderException.class);
return out;
}
org.omg.CORBA_2_3.portable.OutputStream out =
(org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
out.write_value((Serializable)result,Collection.class);
return out;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -