SessBean_x985oc_EOImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:3k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 11:24:20 on 2003-8-30
- * by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
- *
- * @version WebLogic Server 8.1 Fri Jun 20 23:06:40 PDT 2003 271009
- * @author Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
- */
- package com.cwj.userjmssesenbdb;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class SessBean_x985oc_EOImpl
- extends weblogic.ejb20.internal.StatelessEJBObject
- implements com.cwj.userjmssesenbdb.Sess, weblogic.utils.PlatformConstants
- {
- public SessBean_x985oc_EOImpl() {}
- public void insTableAa11(java.lang.String arg0, java.lang.String arg1)
- throws javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((SessBean_x985oc_HomeImpl)getEJBHome()).md_eo_insTableAa11_SS;
- try {
- __wrap = super.preInvoke(
- __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
- } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
- __wrap = super.preInvoke(
- __md, new weblogic.ejb20.internal.EJBContextHandler(
- __md, new Object [] { arg0, arg1}));
- }
- SessBean_x985oc_Intf __bean = (SessBean_x985oc_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.insTableAa11( arg0, arg1);
- } catch (java.lang.Throwable t) {
- __ee = t;
- }
- finally {
- __bean.__WL_setMethodState(__oldState);
- }
- try {
- super.postInvoke(__wrap, __ee);
- } catch (java.lang.Exception e) {
- if (e instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)e;
- }
- else if (e instanceof javax.ejb.CreateException) {
- throw (javax.ejb.CreateException) e;
- }else if (e instanceof javax.naming.NamingException) {
- throw (javax.naming.NamingException) e;
- }
- else {
- throw new java.rmi.UnexpectedException("Unexpected exception in " +
- "com.cwj.userjmssesenbdb.SessBean.insTableAa11():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public void remove()
- throws javax.ejb.RemoveException, java.rmi.RemoteException
- {
- super.remove(((SessBean_x985oc_HomeImpl)getEJBHome()).md_eo_remove);
- }
- }