package com.vci.corba.omd.lifecycleManager; /** * Generated from IDL interface "LifeCycleService". * * @author JacORB IDL compiler V 3.9 * @version generated at 2022-12-23 15:42:24 */ public class _LifeCycleServiceStub extends org.omg.CORBA.portable.ObjectImpl implements com.vci.corba.omd.lifecycleManager.LifeCycleService { /** Serial version UID. */ private static final long serialVersionUID = 1L; private String[] ids = {"IDL:com/vci/corba/omd/lifecycleManager/LifeCycleService:1.0"}; public String[] _ids() { return ids; } public final static java.lang.Class _opsClass = com.vci.corba.omd.lifecycleManager.LifeCycleServiceOperations.class; public boolean deleteLifeCycles(com.vci.corba.omd.lifecycleManager.LifeCycle[] lcs) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "deleteLifeCycles", true); com.vci.corba.omd.lifecycleManager.LifeCycleArrayHelper.write(_os,lcs); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "deleteLifeCycles", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; boolean _result; try { _result = _localServant.deleteLifeCycles(lcs); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean modifyLifeCycle(com.vci.corba.omd.lifecycleManager.LifeCycle lc) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "modifyLifeCycle", true); com.vci.corba.omd.lifecycleManager.LifeCycleHelper.write(_os,lc); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "modifyLifeCycle", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; boolean _result; try { _result = _localServant.modifyLifeCycle(lc); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean recordTransitionHistory(com.vci.corba.omd.lifecycleManager.TransationHistoryRecord thr) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "recordTransitionHistory", true); com.vci.corba.omd.lifecycleManager.TransationHistoryRecordHelper.write(_os,thr); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "recordTransitionHistory", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; boolean _result; try { _result = _localServant.recordTransitionHistory(thr); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String getLifeCycleEventViewSavePath() throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLifeCycleEventViewSavePath", true); _is = _invoke(_os); java.lang.String _result = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLifeCycleEventViewSavePath", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; java.lang.String _result; try { _result = _localServant.getLifeCycleEventViewSavePath(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean deleteLifeCycle(com.vci.corba.omd.lifecycleManager.LifeCycle lc) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "deleteLifeCycle", true); com.vci.corba.omd.lifecycleManager.LifeCycleHelper.write(_os,lc); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "deleteLifeCycle", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; boolean _result; try { _result = _localServant.deleteLifeCycle(lc); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean xml2DB(java.lang.String userName) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "xml2DB", true); java.lang.String tmpResult919 = userName; _os.write_wstring( tmpResult919 ); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "xml2DB", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; boolean _result; try { _result = _localServant.xml2DB(userName); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String getLCEventValueByKey(java.lang.String key) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLCEventValueByKey", true); java.lang.String tmpResult920 = key; _os.write_wstring( tmpResult920 ); _is = _invoke(_os); java.lang.String _result = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLCEventValueByKey", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; java.lang.String _result; try { _result = _localServant.getLCEventValueByKey(key); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.lifecycleManager.LifeCycle getLifeCycle(java.lang.String name) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLifeCycle", true); java.lang.String tmpResult921 = name; _os.write_wstring( tmpResult921 ); _is = _invoke(_os); com.vci.corba.omd.lifecycleManager.LifeCycle _result = com.vci.corba.omd.lifecycleManager.LifeCycleHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLifeCycle", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; com.vci.corba.omd.lifecycleManager.LifeCycle _result; try { _result = _localServant.getLifeCycle(name); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String getLifeCycleEventPath() throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLifeCycleEventPath", true); _is = _invoke(_os); java.lang.String _result = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLifeCycleEventPath", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; java.lang.String _result; try { _result = _localServant.getLifeCycleEventPath(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public com.vci.corba.omd.lifecycleManager.LifeCycle[] getLifeCycles() throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLifeCycles", true); _is = _invoke(_os); com.vci.corba.omd.lifecycleManager.LifeCycle[] _result = com.vci.corba.omd.lifecycleManager.LifeCycleArrayHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLifeCycles", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; com.vci.corba.omd.lifecycleManager.LifeCycle[] _result; try { _result = _localServant.getLifeCycles(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String getLifeCycleEventViewPath() throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLifeCycleEventViewPath", true); _is = _invoke(_os); java.lang.String _result = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLifeCycleEventViewPath", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; java.lang.String _result; try { _result = _localServant.getLifeCycleEventViewPath(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String get_lifecycle_event_path() throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "get_lifecycle_event_path", true); _is = _invoke(_os); java.lang.String _result = _is.read_wstring(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "get_lifecycle_event_path", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; java.lang.String _result; try { _result = _localServant.get_lifecycle_event_path(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public boolean addLifeCycle(com.vci.corba.omd.lifecycleManager.LifeCycle lc) throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "addLifeCycle", true); com.vci.corba.omd.lifecycleManager.LifeCycleHelper.write(_os,lc); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "addLifeCycle", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; boolean _result; try { _result = _localServant.addLifeCycle(lc); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } public java.lang.String[] getLCEventKeys() throws com.vci.corba.common.VCIError { while(true) { if(! this._is_local()) { org.omg.CORBA.portable.InputStream _is = null; org.omg.CORBA.portable.OutputStream _os = null; try { _os = _request( "getLCEventKeys", true); _is = _invoke(_os); java.lang.String[] _result = com.vci.corba.common.data.WStringArrayHelper.read(_is); return _result; } catch( org.omg.CORBA.portable.RemarshalException _rx ) { continue; } catch( org.omg.CORBA.portable.ApplicationException _ax ) { String _id = _ax.getId(); try { if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0")) { throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream()); } else { throw new RuntimeException("Unexpected exception " + _id ); } } finally { try { _ax.getInputStream().close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } } finally { if (_os != null) { try { _os.close(); } catch (java.io.IOException e) { throw new RuntimeException("Unexpected exception " + e.toString() ); } } this._releaseReply(_is); } } else { org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLCEventKeys", _opsClass ); if( _so == null ) continue; LifeCycleServiceOperations _localServant = (LifeCycleServiceOperations)_so.servant; java.lang.String[] _result; try { _result = _localServant.getLCEventKeys(); if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion(); return _result; } catch (com.vci.corba.common.VCIError ex) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex); throw ex; } catch (RuntimeException re) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re); throw re; } catch (java.lang.Error err) { if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt) ((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err); throw err; } finally { _servant_postinvoke(_so); } } } } }