private OutputStream _get_handle(org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { Handle result = target.getHandle(); OutputStream out = reply.createReply(); Util.writeAbstractObject(out, result); return out; }
private OutputStream _get_primaryKey( org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { Object result = target.getPrimaryKey(); OutputStream out = reply.createReply(); Util.writeAny(out, result); return out; }
private OutputStream isIdentical(org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { EJBObject arg0 = (EJBObject) in.read_Object(EJBObject.class); boolean result = target.isIdentical(arg0); OutputStream out = reply.createReply(); out.write_boolean(result); return out; }
private OutputStream getSeqNextVal( org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { String arg0 = (String) in.read_value(String.class); String result = target.getSeqNextVal(arg0); org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply(); out.write_value(result, String.class); return out; }
private OutputStream remove(org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { try { target.remove(); } 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; } OutputStream out = reply.createReply(); return out; }