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

📄 gouwucheinfo_uachjq_eloimpl.java

📁 一个使用EJB开发的真实项目
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.setCount1():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public void setName(java.lang.String arg0)
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.internal.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((GouWuCheInfo_uachjq_LocalHomeImpl)getEJBLocalHome()).md_eo_setName_S;
    try {
      __wrap = super.preInvokeLite(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvokeLite(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] {  arg0}));          
    }
    
    GouWuCheInfo_uachjq_Intf __bean = (GouWuCheInfo_uachjq_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.setName(
      arg0);
      ((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.setName():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public java.lang.String getName()
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.internal.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((GouWuCheInfo_uachjq_LocalHomeImpl)getEJBLocalHome()).md_eo_getName;
    try {
      __wrap = super.preInvokeLite(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvokeLite(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] { }));          
    }
    
    GouWuCheInfo_uachjq_Intf __bean = (GouWuCheInfo_uachjq_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getName(
      );
      ((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.getName():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    return result;
  }
  
  public java.lang.String getZhiFu()
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.internal.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((GouWuCheInfo_uachjq_LocalHomeImpl)getEJBLocalHome()).md_eo_getZhiFu;
    try {
      __wrap = super.preInvokeLite(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvokeLite(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] { }));          
    }
    
    GouWuCheInfo_uachjq_Intf __bean = (GouWuCheInfo_uachjq_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getZhiFu(
      );
      ((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.getZhiFu():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    return result;
  }
  
  public java.lang.String getModel()
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.internal.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((GouWuCheInfo_uachjq_LocalHomeImpl)getEJBLocalHome()).md_eo_getModel;
    try {
      __wrap = super.preInvokeLite(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvokeLite(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] { }));          
    }
    
    GouWuCheInfo_uachjq_Intf __bean = (GouWuCheInfo_uachjq_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getModel(
      );
      ((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.getModel():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    return result;
  }
  
  public void setPrice(float arg0)
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.internal.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((GouWuCheInfo_uachjq_LocalHomeImpl)getEJBLocalHome()).md_eo_setPrice_f;
    try {
      __wrap = super.preInvokeLite(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvokeLite(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] { new Float( arg0)}));          
    }
    
    GouWuCheInfo_uachjq_Intf __bean = (GouWuCheInfo_uachjq_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.setPrice(
      arg0);
      ((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.setPrice():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public void setModel(java.lang.String arg0)
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.internal.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((GouWuCheInfo_uachjq_LocalHomeImpl)getEJBLocalHome()).md_eo_setModel_S;
    try {
      __wrap = super.preInvokeLite(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvokeLite(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] {  arg0}));          
    }
    
    GouWuCheInfo_uachjq_Intf __bean = (GouWuCheInfo_uachjq_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.setModel(
      arg0);
      ((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.setModel():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public java.lang.String getNumber()
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.internal.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((GouWuCheInfo_uachjq_LocalHomeImpl)getEJBLocalHome()).md_eo_getNumber;
    try {
      __wrap = super.preInvokeLite(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvokeLite(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] { }));          
    }
    
    GouWuCheInfo_uachjq_Intf __bean = (GouWuCheInfo_uachjq_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getNumber(
      );
      ((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvokeLite(__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 " +
        "ejb.GouWuCheInfoBean.getNumber():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    return result;
  }
  
  
  
  public void remove()
  throws javax.ejb.RemoveException
  {
    super.remove(((GouWuCheInfo_uachjq_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.");
  }
}

⌨️ 快捷键说明

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