if (op == null) { EjbLogger.ROOT_LOGGER.debugf("Unable to find opname '%s' valid operations:%s", opName, methodInvokerMap.keySet()); throw new BAD_OPERATION(opName); handler.createReply(); if (op.isNonVoid()) { op.writeRetval(out, retVal); handler.createExceptionReply(); op.writeException(out, e);
private org.omg.CORBA.portable.OutputStream _OB_op_destroy(org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) { org.omg.CORBA.portable.OutputStream out = null; try { destroy(); out = handler.createReply(); } catch(ServerRunning _ob_ex) { out = handler.createExceptionReply(); ServerRunningHelper.write(out, _ob_ex); } return out; }
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // generic_create { try { org.omg.CosCollection.NVPair[] _arg0=org.omg.CosCollection.ParameterListHelper.read(_input); _out = handler.createReply(); org.omg.CosCollection.CollectionHelper.write(_out,generic_create(_arg0)); } catch(org.omg.CosCollection.ParameterInvalid _ex0) { _out = handler.createExceptionReply(); org.omg.CosCollection.ParameterInvalidHelper.write(_out, _ex0); } break; } } return _out; }
java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) _out = handler.createReply(); disconnect_pull_consumer(); break; _out = handler.createReply(); connect_pull_supplier(_arg0); _out = handler.createExceptionReply(); org.omg.CosEventChannelAdmin.AlreadyConnectedHelper.write(_out, _ex0); _out = handler.createExceptionReply(); org.omg.CosEventChannelAdmin.TypeErrorHelper.write(_out, _ex1);
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // pulse { try { _out = handler.createReply(); pulse(); } catch(org.csapi.TpCommonExceptions _ex0) { _out = handler.createExceptionReply(); org.csapi.TpCommonExceptionsHelper.write(_out, _ex0); } break; } } return _out; }
private org.omg.CORBA.portable.OutputStream _OB_op_stop(org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) { org.omg.CORBA.portable.OutputStream out = null; try { stop(); out = handler.createReply(); } catch(OADNotRunning _ob_ex) { out = handler.createExceptionReply(); OADNotRunningHelper.write(out, _ob_ex); } catch(ServerNotRunning _ob_ex) { out = handler.createExceptionReply(); ServerNotRunningHelper.write(out, _ob_ex); } return out; } }
java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) _out = handler.createReply(); rollback(); break; _out = handler.createReply(); commit(_arg0); _out = handler.createExceptionReply(); org.omg.CosTransactions.HeuristicHazardHelper.write(_out, _ex0); _out = handler.createExceptionReply(); org.omg.CosTransactions.HeuristicMixedHelper.write(_out, _ex1);
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // pulse { try { _out = handler.createReply(); pulse(); } catch(org.csapi.TpCommonExceptions _ex0) { _out = handler.createExceptionReply(); org.csapi.TpCommonExceptionsHelper.write(_out, _ex0); } break; } } return _out; }
private org.omg.CORBA.portable.OutputStream _OB_op_start(org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) { org.omg.CORBA.portable.OutputStream out = null; try { start(); out = handler.createReply(); } catch(ServerRunning _ob_ex) { out = handler.createExceptionReply(); ServerRunningHelper.write(out, _ob_ex); } return out; }
java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) _out = handler.createReply(); connect_push_consumer(_arg0); _out = handler.createExceptionReply(); org.omg.CosEventChannelAdmin.AlreadyConnectedHelper.write(_out, _ex0); _out = handler.createExceptionReply(); org.omg.CosEventChannelAdmin.TypeErrorHelper.write(_out, _ex1); _out = handler.createReply(); disconnect_push_supplier(); break;
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // pulse { try { _out = handler.createReply(); pulse(); } catch(org.csapi.TpCommonExceptions _ex0) { _out = handler.createExceptionReply(); org.csapi.TpCommonExceptionsHelper.write(_out, _ex0); } break; } } return _out; }
private org.omg.CORBA.portable.OutputStream _OB_op_remove_oad_record(org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) { org.omg.CORBA.portable.OutputStream out = null; try { String _ob_a0 = in.read_string(); remove_oad_record(_ob_a0); out = handler.createReply(); } catch(NoSuchOAD _ob_ex) { out = handler.createExceptionReply(); NoSuchOADHelper.write(out, _ob_ex); } catch(OADRunning _ob_ex) { out = handler.createExceptionReply(); OADRunningHelper.write(out, _ob_ex); } return out; }
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // generic_create { try { org.omg.CosCollection.NVPair[] _arg0=org.omg.CosCollection.ParameterListHelper.read(_input); _out = handler.createReply(); org.omg.CosCollection.RestrictedAccessCollectionHelper.write(_out,generic_create(_arg0)); } catch(org.omg.CosCollection.ParameterInvalid _ex0) { _out = handler.createExceptionReply(); org.omg.CosCollection.ParameterInvalidHelper.write(_out, _ex0); } break; } } return _out; }
throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) _out = handler.createReply(); org.csapi.fw.TpEntOpHelper.write(_out,describeEntOpAccount()); _out = handler.createExceptionReply(); org.csapi.TpCommonExceptionsHelper.write(_out, _ex0); _out = handler.createExceptionReply(); org.csapi.fw.P_ACCESS_DENIEDHelper.write(_out, _ex1);
private org.omg.CORBA.portable.OutputStream _OB_op_resume_destination(org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) { org.omg.CORBA.portable.OutputStream out = null; try { org.omg.CORBA.Object _ob_a0 = in.read_Object(); resume_destination(_ob_a0); out = handler.createReply(); } catch(InvalidState _ob_ex) { out = handler.createExceptionReply(); InvalidStateHelper.write(out, _ob_ex); } return out; }
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // replay_completion { try { org.omg.CosTransactions.Resource _arg0=org.omg.CosTransactions.ResourceHelper.read(_input); _out = handler.createReply(); org.omg.CosTransactions.StatusHelper.write(_out,replay_completion(_arg0)); } catch(org.omg.CosTransactions.NotPrepared _ex0) { _out = handler.createExceptionReply(); org.omg.CosTransactions.NotPreparedHelper.write(_out, _ex0); } break; } } return _out; }
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); if (__method == null) throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); boolean report_heuristics = in.read_boolean (); this.commit (report_heuristics); out = $rh.createReply(); } catch (org.omg.CosTransactions.HeuristicMixed $ex) { out = $rh.createExceptionReply (); org.omg.CosTransactions.HeuristicMixedHelper.write (out, $ex); } catch (org.omg.CosTransactions.HeuristicHazard $ex) { out = $rh.createExceptionReply (); org.omg.CosTransactions.HeuristicHazardHelper.write (out, $ex); out = $rh.createReply(); break; throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
private org.omg.CORBA.portable.OutputStream _OB_op_create_oad_record(org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) { org.omg.CORBA.portable.OutputStream out = null; try { String _ob_a0 = in.read_string(); create_oad_record(_ob_a0); out = handler.createReply(); } catch(OADAlreadyExists _ob_ex) { out = handler.createExceptionReply(); OADAlreadyExistsHelper.write(out, _ob_ex); } return out; }
java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) _out = handler.createReply(); disconnect_push_consumer(); break; _out = handler.createReply(); push(_arg0); _out = handler.createExceptionReply(); org.omg.CosEventComm.DisconnectedHelper.write(_out, _ex0);
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method); if (__method == null) throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); boolean report_heuristics = in.read_boolean (); this.commit (report_heuristics); out = $rh.createReply(); } catch (org.omg.CosTransactions.HeuristicMixed $ex) { out = $rh.createExceptionReply (); org.omg.CosTransactions.HeuristicMixedHelper.write (out, $ex); } catch (org.omg.CosTransactions.HeuristicHazard $ex) { out = $rh.createExceptionReply (); org.omg.CosTransactions.HeuristicHazardHelper.write (out, $ex); out = $rh.createReply(); break; throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);