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

📄 fahuojilu_3ivp74_localhomeimpl.java

📁 一个使用EJB开发的真实项目
💻 JAVA
字号:
/**
* This code was automatically generated at 15:16:22 on 2007-1-15
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1 SP4  Mon Nov 29 16:21:29 PST 2004 471647 
* @author Copyright (c) 2007 by BEA Systems, Inc. All Rights Reserved.
*/

package ejb;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class Fahuojilu_3ivp74_LocalHomeImpl
extends    weblogic.ejb20.internal.EntityEJBLocalHome
implements ejb.FahuojiluHome, weblogic.utils.PlatformConstants 

, weblogic.ejb.QueryLocalHome
{
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getPrice;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getCount1;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setZhiFu_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getDingDanHao;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setNumber_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setUserCode_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getUserCode;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setCount1_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setName_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getName;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getZhiFu;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getModel;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setPrice_f;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setModel_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getNumber;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_S;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindForUserCode_S;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindForDingDanHao_S;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindForAll;
  
  
  private static java.lang.reflect.Method mth_ejbCreate_S;
  private static java.lang.reflect.Method mth_postejbCreate_S;
  
  
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
  
  static {
    
    try {
      
      
      mth_ejbCreate_S = Fahuojilu_3ivp74_Intf.class.getMethod(
      "ejbCreate", new Class [] {java.lang.String.class});
      
      if (true) {
        mth_postejbCreate_S = Fahuojilu_3ivp74_Intf.class.getMethod(
        "ejbPostCreate", new 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 Fahuojilu_3ivp74_LocalHomeImpl() {
    super(Fahuojilu_3ivp74_ELOImpl.class
    , java.lang.String.class);
  }
  
  
  public ejb.Fahuojilu create (java.lang.String arg0)
  throws javax.ejb.CreateException
  {
    try {
      return (ejb.Fahuojilu) 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 ejb.Fahuojilu findByPrimaryKey(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (ejb.Fahuojilu)
      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 findForUserCode(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (java.util.Collection)
      super.finder(md_ejbFindForUserCode_S, new Object [] {  arg0} , 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 java.util.Collection findForDingDanHao(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (java.util.Collection)
      super.finder(md_ejbFindForDingDanHao_S, new Object [] {  arg0} , 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 java.util.Collection findForAll()
  throws javax.ejb.FinderException
  {
    try {
      return (java.util.Collection)
      super.finder(md_ejbFindForAll, 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 + -