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

📄 customers_3kf98w_eloimpl.java

📁 jbuilder9+weblogic8+oracle9开发的客户管理系统。服务器端采用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 " +
        "testejb.CustomersBean.setEmail():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public void setRepresentId(java.lang.String arg0)
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((Customers_3kf98w_LocalHomeImpl)getEJBLocalHome()).md_eo_setRepresentId_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}));          
    }
    
    Customers_3kf98w_Intf __bean = (Customers_3kf98w_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.setRepresentId(
      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 " +
        "testejb.CustomersBean.setRepresentId():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public void setContact(java.lang.String arg0)
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((Customers_3kf98w_LocalHomeImpl)getEJBLocalHome()).md_eo_setContact_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}));          
    }
    
    Customers_3kf98w_Intf __bean = (Customers_3kf98w_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.setContact(
      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 " +
        "testejb.CustomersBean.setContact():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public void setAddr(java.lang.String arg0)
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((Customers_3kf98w_LocalHomeImpl)getEJBLocalHome()).md_eo_setAddr_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}));          
    }
    
    Customers_3kf98w_Intf __bean = (Customers_3kf98w_Intf) __wrap.getBean();
    
    // No return value
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      __bean.setAddr(
      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 " +
        "testejb.CustomersBean.setAddr():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  public java.lang.String getAddr()
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((Customers_3kf98w_LocalHomeImpl)getEJBLocalHome()).md_eo_getAddr;
    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 [] { }));          
    }
    
    Customers_3kf98w_Intf __bean = (Customers_3kf98w_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getAddr(
      );
      ((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 " +
        "testejb.CustomersBean.getAddr():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    return result;
  }
  
  public java.lang.String getRepresentId()
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((Customers_3kf98w_LocalHomeImpl)getEJBLocalHome()).md_eo_getRepresentId;
    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 [] { }));          
    }
    
    Customers_3kf98w_Intf __bean = (Customers_3kf98w_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.getRepresentId(
      );
      ((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 " +
        "testejb.CustomersBean.getRepresentId():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    return result;
  }
  
  public void setName(java.lang.String arg0)
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((Customers_3kf98w_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}));          
    }
    
    Customers_3kf98w_Intf __bean = (Customers_3kf98w_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 " +
        "testejb.CustomersBean.setName():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
        
        
      } 
    }
    // No return result
  }
  
  
  
  public void remove()
  throws javax.ejb.RemoveException
  {
    super.remove(((Customers_3kf98w_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 + -