private OutputStream _get_homeHandle( org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { HomeHandle result = target.getHomeHandle(); OutputStream out = reply.createReply(); Util.writeAbstractObject(out, result); return out; }
private OutputStream _get_EJBMetaData( org.omg.CORBA_2_3.portable.InputStream in, 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 OutputStream remove__java_lang_Object( org.omg.CORBA_2_3.portable.InputStream in, 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; } OutputStream out = reply.createReply(); return out; }
private OutputStream remove__javax_ejb_Handle( org.omg.CORBA_2_3.portable.InputStream in, 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; } OutputStream out = reply.createReply(); return out; }
private OutputStream create(org.omg.CORBA_2_3.portable.InputStream in, ResponseHandler reply) throws Throwable { IcpOperation result; try { result = target.create(); } 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; } OutputStream out = reply.createReply(); Util.writeRemoteObject(out, result); return out; }