BMPBEAN_4ovokw_EOImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:7k
源码类别:
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 BMPBEAN_4ovokw_EOImpl
- extends weblogic.ejb20.internal.EntityEJBObject_Activatable
- implements com.cwj.userjmssesenbdb.BMPBEANRemote, weblogic.utils.PlatformConstants
- {
- public BMPBEAN_4ovokw_EOImpl() {}
- public java.lang.String getShancbz() throws java.rmi.RemoteException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((BMPBEAN_4ovokw_HomeImpl)getEJBHome()).md_eo_getShancbz;
- 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 [] { }));
- }
- BMPBEAN_4ovokw_Intf __bean = (BMPBEAN_4ovokw_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getShancbz();
- } 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 {
- throw new java.rmi.UnexpectedException("Unexpected exception in " +
- "com.cwj.userjmssesenbdb.BMPBEANBean.getShancbz():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public void setXiwbz(java.lang.String arg0) throws java.rmi.RemoteException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((BMPBEAN_4ovokw_HomeImpl)getEJBHome()).md_eo_setXiwbz_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}));
- }
- BMPBEAN_4ovokw_Intf __bean = (BMPBEAN_4ovokw_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setXiwbz( 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 java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)e;
- }
- else {
- throw new java.rmi.UnexpectedException("Unexpected exception in " +
- "com.cwj.userjmssesenbdb.BMPBEANBean.setXiwbz():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public java.lang.String getXiwbz() throws java.rmi.RemoteException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((BMPBEAN_4ovokw_HomeImpl)getEJBHome()).md_eo_getXiwbz;
- 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 [] { }));
- }
- BMPBEAN_4ovokw_Intf __bean = (BMPBEAN_4ovokw_Intf) __wrap.getBean();
- java.lang.String result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.getXiwbz();
- } 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 {
- throw new java.rmi.UnexpectedException("Unexpected exception in " +
- "com.cwj.userjmssesenbdb.BMPBEANBean.getXiwbz():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public void setShancbz(java.lang.String arg0) throws java.rmi.RemoteException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((BMPBEAN_4ovokw_HomeImpl)getEJBHome()).md_eo_setShancbz_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}));
- }
- BMPBEAN_4ovokw_Intf __bean = (BMPBEAN_4ovokw_Intf) __wrap.getBean();
- // No return value
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- __bean.setShancbz( 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 java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)e;
- }
- else {
- throw new java.rmi.UnexpectedException("Unexpected exception in " +
- "com.cwj.userjmssesenbdb.BMPBEANBean.setShancbz():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- // No return result
- }
- public void remove()
- throws javax.ejb.RemoveException, java.rmi.RemoteException
- {
- super.remove(((BMPBEAN_4ovokw_HomeImpl)getEJBHome()).md_eo_remove);
- }
- }