StudentBmp_gv07c4_ELOImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:25k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 11:30:15 on 2003-9-3
- * 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 bmpsample;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class StudentBmp_gv07c4_ELOImpl
- extends weblogic.ejb20.internal.EntityEJBLocalObject
- implements bmpsample.StudentBmp, weblogic.utils.PlatformConstants, java.io.Serializable
- {
- public StudentBmp_gv07c4_ELOImpl() {}
- public java.lang.String getPassword()
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_getPassword;
- 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 [] { }));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getPassword(
- );
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.getPassword():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public java.lang.String getEmail()
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_getEmail;
- 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 [] { }));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getEmail(
- );
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.getEmail():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public java.lang.String getCompanyName()
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_getCompanyName;
- 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 [] { }));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getCompanyName(
- );
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.getCompanyName():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public void deleteASchedule(java.lang.String arg0)
- throws bmpsample.RosterDAOException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_deleteASchedule_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.deleteASchedule(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else if (e instanceof bmpsample.RosterDAOException) {
- throw (bmpsample.RosterDAOException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.deleteASchedule():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public void addASchedule(java.lang.String arg0)
- throws bmpsample.RosterDAOException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_addASchedule_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.addASchedule(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else if (e instanceof bmpsample.RosterDAOException) {
- throw (bmpsample.RosterDAOException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.addASchedule():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public java.lang.String getFirstName()
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_getFirstName;
- 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 [] { }));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getFirstName(
- );
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.getFirstName():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public void setLastName(java.lang.String arg0)
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_setLastName_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setLastName(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.setLastName():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public void setPassword(java.lang.String arg0)
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_setPassword_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setPassword(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.setPassword():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public void setEmail(java.lang.String arg0)
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_setEmail_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setEmail(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.setEmail():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public java.lang.String getLastName()
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_getLastName;
- 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 [] { }));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getLastName(
- );
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.getLastName():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public java.lang.String getPhone()
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_getPhone;
- 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 [] { }));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getPhone(
- );
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.getPhone():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public void setPhone(java.lang.String arg0)
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_setPhone_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setPhone(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.setPhone():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public void setFirstName(java.lang.String arg0)
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_setFirstName_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setFirstName(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.setFirstName():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public java.util.Vector getScheduleList() throws bmpsample.RosterDAOException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_getScheduleList;
- 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 [] { }));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- java.util.Vector result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getScheduleList(
- );
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else if (e instanceof bmpsample.RosterDAOException) {
- throw (bmpsample.RosterDAOException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.getScheduleList():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public void setCompanyName(java.lang.String arg0)
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_setCompanyName_S;
- 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}));
- }
- StudentBmp_gv07c4_Intf __bean = (StudentBmp_gv07c4_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setCompanyName(
- arg0);
- } 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 javax.ejb.EJBException) {
- throw (javax.ejb.EJBException) e;
- }
- else {
- throw new javax.ejb.EJBException("Unexpected exception in " +
- "bmpsample.StudentBmpBean.setCompanyName():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public void remove()
- throws javax.ejb.RemoveException
- {
- super.remove(((StudentBmp_gv07c4_LocalHomeImpl)getEJBLocalHome()).md_eo_remove);
- }
- private void writeObject(java.io.ObjectOutputStream out)
- throws java.io.IOException
- {
- throw new javax.ejb.EJBException(
- "Attempt to pass a reference to an EJBLocalObject to a remote " +
- "client. A local EJB component may only be accessed by clients " +
- "co-located in the same ear or standalone jar file.");
- }
- private void readObject(java.io.ObjectInputStream in)
- throws java.io.IOException, java.lang.ClassNotFoundException
- {
- // this method is never called
- throw new javax.ejb.EJBException(
- "Attempt to pass a reference to an EJBLocalObject to a remote " +
- "client. A local EJB component may only be accessed by clients " +
- "co-located in the same ear or standalone jar file.");
- }
- }