⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ejsremotestatefulobjecttokenhandler_da8b01e7.java

📁 j2ee源码
💻 JAVA
字号:
package com.leeman.common.handler;import com.ibm.ejs.container.*;/** * EJSRemoteStatefulObjectTokenHandler_da8b01e7 */public class EJSRemoteStatefulObjectTokenHandler_da8b01e7 extends EJSWrapper implements ObjectTokenHandler {	/**	 * EJSRemoteStatefulObjectTokenHandler_da8b01e7	 */	public EJSRemoteStatefulObjectTokenHandler_da8b01e7() throws java.rmi.RemoteException {		super();	}	/**	 * isUserToken	 */	public boolean isUserToken(java.lang.String companyID, java.lang.String userId) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		boolean _EJS_result = false;		try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 0, _EJS_s);			_EJS_result = _EJS_beanRef.isUserToken(companyID, userId);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 0, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * setToken	 */	public boolean setToken(com.leeman.common.entity.ObjectTokenVO objectTokenVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		boolean _EJS_result = false;		try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 1, _EJS_s);			_EJS_result = _EJS_beanRef.setToken(objectTokenVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 1, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * setToken	 */	public boolean setToken(com.leeman.common.entity.ObjectTokenVO[] objectTokenVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		boolean _EJS_result = false;		try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 2, _EJS_s);			_EJS_result = _EJS_beanRef.setToken(objectTokenVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 2, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * checkToken	 */	public com.leeman.common.entity.ObjectTokenVO checkToken(com.leeman.common.entity.ObjectTokenVO objectTokenVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		com.leeman.common.entity.ObjectTokenVO _EJS_result = null;		try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 3, _EJS_s);			_EJS_result = _EJS_beanRef.checkToken(objectTokenVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 3, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * checkSetToken	 */	public com.leeman.common.entity.ObjectTokenVO[] checkSetToken(com.leeman.common.entity.ObjectTokenVO[] objectTokenVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		com.leeman.common.entity.ObjectTokenVO[] _EJS_result = null;		try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 4, _EJS_s);			_EJS_result = _EJS_beanRef.checkSetToken(objectTokenVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 4, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * validateToken	 */	public com.leeman.common.entity.ObjectTokenVO[] validateToken(com.leeman.common.entity.ObjectTokenVO[] objectTokenVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);		com.leeman.common.entity.ObjectTokenVO[] _EJS_result = null;		try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 5, _EJS_s);			_EJS_result = _EJS_beanRef.validateToken(objectTokenVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 5, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return _EJS_result;	}	/**	 * releaseAllToken	 */	public void releaseAllToken(java.lang.String companyID, java.lang.String userId) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 6, _EJS_s);			_EJS_beanRef.releaseAllToken(companyID, userId);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 6, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * releaseAllToken	 */	public void releaseAllToken(java.lang.String companyCd, java.lang.String userId, java.lang.String sessionId) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 7, _EJS_s);			_EJS_beanRef.releaseAllToken(companyCd, userId, sessionId);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 7, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * releaseTableToken	 */	public void releaseTableToken(java.lang.String companyID, java.lang.String tableName) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 8, _EJS_s);			_EJS_beanRef.releaseTableToken(companyID, tableName);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 8, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * releaseToken	 */	public void releaseToken(com.leeman.common.entity.ObjectTokenVO objectTokenSO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 9, _EJS_s);			_EJS_beanRef.releaseToken(objectTokenSO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 9, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}	/**	 * releaseToken	 */	public void releaseToken(com.leeman.common.entity.ObjectTokenVO[] objectTokenVO) throws java.lang.Exception {		EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);				try {			com.leeman.common.handler.ObjectTokenHandlerBean _EJS_beanRef = (com.leeman.common.handler.ObjectTokenHandlerBean)container.preInvoke(this, 10, _EJS_s);			_EJS_beanRef.releaseToken(objectTokenVO);		}		catch (java.lang.RuntimeException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.rmi.RemoteException ex) {			_EJS_s.setUncheckedException(ex);		}		catch (java.lang.Exception ex) {			_EJS_s.setCheckedException(ex);			throw ex;		}		catch (Throwable ex) {			_EJS_s.setUncheckedException(ex);			throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);		}		finally {			try {				container.postInvoke(this, 10, _EJS_s);			} finally {				container.putEJSDeployedSupport(_EJS_s);			}		}		return ;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -