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

📄 customers_3kf98w_localhomeimpl.java

📁 jbuilder9+weblogic8+oracle9开发的客户管理系统。服务器端采用EJB技术。可以对公司雇员和客户进行管理。
💻 JAVA
字号:
/**
* This code was automatically generated at 16:16:37 on 2005-4-8
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1  Fri Dec 5 15:01:51 PST 2003 316284 
* @author Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
*/

package testejb;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class Customers_3kf98w_LocalHomeImpl
extends    weblogic.ejb20.internal.EntityEJBLocalHome
implements testejb.CustomersHome, weblogic.utils.PlatformConstants 

, weblogic.ejb.QueryLocalHome
{
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setPhone_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setEmail_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getName;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getPhone;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getId;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setName_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getEmail;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setContact_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setAddr_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getContact;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getAddr;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getRepresentId;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setRepresentId_S;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_S;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate2_SSSSSS;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindallcustomers;
  
  
  private static java.lang.reflect.Method mth_ejbCreate_S;
  private static java.lang.reflect.Method mth_postejbCreate_S;
  private static java.lang.reflect.Method mth_ejbCreate2_SSSSSS;
  private static java.lang.reflect.Method mth_postejbCreate2_SSSSSS;
  
  
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
  
  static {
    
    try {
      
      
      mth_ejbCreate_S = Customers_3kf98w_Intf.class.getMethod(
      "ejbCreate", new Class [] {java.lang.String.class});
      
      if (true) {
        mth_postejbCreate_S = Customers_3kf98w_Intf.class.getMethod(
        "ejbPostCreate", new Class [] {java.lang.String.class}); 
      }
      
      
      
      mth_ejbCreate2_SSSSSS = Customers_3kf98w_Intf.class.getMethod(
      "ejbCreate2", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class});
      
      if (true) {
        mth_postejbCreate2_SSSSSS = Customers_3kf98w_Intf.class.getMethod(
        "ejbPostCreate2", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class}); 
      }
      
      
      
      
      
    } catch (Exception e) {
      throw new AssertionError("Unable to find expected "+
      "methods.  Please check your classpath for stale versions of "+
      "your ejb classes and re-run weblogic.ejbc");
    }
  }
  
  
  public Customers_3kf98w_LocalHomeImpl() {
    super(Customers_3kf98w_ELOImpl.class
    , java.lang.String.class);
  }
  
  
  public testejb.Customers create (java.lang.String arg0)
  throws javax.ejb.CreateException
  {
    try {
      return (testejb.Customers) super.create(md_ejbCreate_S,
      mth_ejbCreate_S, mth_postejbCreate_S, 
      new Object [] {  arg0});
      
    } catch (java.lang.Exception e) {
      if (e instanceof javax.ejb.EJBException) {
        throw (javax.ejb.EJBException)e;
      }
      else if (e instanceof javax.ejb.CreateException) {
        throw (javax.ejb.CreateException) e;
      }
      else {
        throw new javax.ejb.CreateException ("Error while creating bean: " + 
        e.toString());
      }
    }
  }
  
  
  public testejb.Customers create2 (java.lang.String arg0,java.lang.String arg1,java.lang.String arg2,java.lang.String arg3,java.lang.String arg4,java.lang.String arg5)
  throws javax.ejb.CreateException
  {
    try {
      return (testejb.Customers) super.create(md_ejbCreate2_SSSSSS,
      mth_ejbCreate2_SSSSSS, mth_postejbCreate2_SSSSSS, 
      new Object [] {  arg0, arg1, arg2, arg3, arg4, arg5});
      
    } catch (java.lang.Exception e) {
      if (e instanceof javax.ejb.EJBException) {
        throw (javax.ejb.EJBException)e;
      }
      else if (e instanceof javax.ejb.CreateException) {
        throw (javax.ejb.CreateException) e;
      }
      else {
        throw new javax.ejb.CreateException ("Error while creating bean: " + 
        e.toString());
      }
    }
  }
  
  
  
  
  public testejb.Customers findByPrimaryKey(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (testejb.Customers)
      super.findByPrimaryKey(md_ejbFindByPrimaryKey_S,  arg0 );
    } catch (java.lang.Exception e) {
      if (e instanceof javax.ejb.EJBException) {
        throw (javax.ejb.EJBException)e;
      }
      else if (e instanceof javax.ejb.FinderException) {
        throw (javax.ejb.FinderException) e;
      }
      else {
        throw new javax.ejb.FinderException ("Error while finding bean: " + 
        e.toString());
      }
    }
  }
  
  
  
  public java.util.Collection findallcustomers()
  throws javax.ejb.FinderException
  {
    try {
      return (java.util.Collection)
      super.finder(md_ejbFindallcustomers, new Object [] { } , weblogic.ejb20.internal.EntityEJBHome.COLL_FINDER);
    } catch (java.lang.Exception e) {
      if (e instanceof javax.ejb.EJBException) {
        throw (javax.ejb.EJBException)e;
      }
      else if (e instanceof javax.ejb.FinderException) {
        throw (javax.ejb.FinderException) e;
      }
      else {
        throw new javax.ejb.FinderException ("Error while finding bean: " + 
        e.toString());
      }
    }
  }
  
  
  
  
  
  
  public void remove(java.lang.Object pk) 
  throws javax.ejb.RemoveException
  {
    super.remove(md_ejbRemove_O, pk);
  }
  
}

⌨️ 快捷键说明

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