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

📄 bmpbean_4ovokw_localhomeimpl.java

📁 100多M的J2EE培训内容
💻 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_LocalHomeImpl
extends    weblogic.ejb20.internal.EntityEJBLocalHome
implements com.cwj.userjmssesenbdb.BMPBEANHome, weblogic.utils.PlatformConstants 


{
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getShancbz;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setXiwbz_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setShancbz_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getXiwbz;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SS;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_com_cwj_userjmssesenbdb_BMPBEANPK;
  
  
  private static java.lang.reflect.Method mth_ejbCreate_SS;
  private static java.lang.reflect.Method mth_postejbCreate_SS;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbHomeejbInsertAa11_SS;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbHomeejbdeleteAa11_S;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
  
  static {
    
    try {
      
      
      mth_ejbCreate_SS = BMPBEAN_4ovokw_Intf.class.getMethod(
      "ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class});
      
      if (true) {
        mth_postejbCreate_SS = BMPBEAN_4ovokw_Intf.class.getMethod(
        "ejbPostCreate", new 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 BMPBEAN_4ovokw_LocalHomeImpl() {
    super(BMPBEAN_4ovokw_ELOImpl.class
    , com.cwj.userjmssesenbdb.BMPBEANPK.class);
  }
  
  
  public com.cwj.userjmssesenbdb.BMPBEAN create (java.lang.String arg0,java.lang.String arg1)
  throws javax.ejb.CreateException
  {
    try {
      return (com.cwj.userjmssesenbdb.BMPBEAN) super.create(md_ejbCreate_SS,
      mth_ejbCreate_SS, mth_postejbCreate_SS, 
      new Object [] {  arg0, arg1});
      
    } 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 com.cwj.userjmssesenbdb.BMPBEAN findByPrimaryKey(com.cwj.userjmssesenbdb.BMPBEANPK arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (com.cwj.userjmssesenbdb.BMPBEAN)
      super.findByPrimaryKey(md_ejbFindByPrimaryKey_com_cwj_userjmssesenbdb_BMPBEANPK,  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 com.cwj.userjmssesenbdb.BMPBEANPK ejbInsertAa11(java.lang.String arg0, java.lang.String arg1)
  throws javax.ejb.CreateException{
    java.lang.Throwable ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper wrap = 
    super.preEntityHomeInvoke(md_ejbHomeejbInsertAa11_SS);
    
    BMPBEAN_4ovokw_Intf bean = (BMPBEAN_4ovokw_Intf)wrap.getBean();
    int oldState = bean.__WL_getMethodState();
    com.cwj.userjmssesenbdb.BMPBEANPK result = null;
    
    try {
      bean.__WL_setMethodState(WLEnterpriseBean.STATE_EJBHOME);
      result =  bean.ejbHomeEjbInsertAa11( arg0, arg1);
    } catch (java.lang.Throwable t) {
      ee = t;
    }
    finally {
      bean.__WL_setMethodState(oldState);
    }
    try {
      super.postEntityHomeInvoke(wrap, ee);
      
    } 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.EJBException("Unexpected exception in " +
        "com.cwj.userjmssesenbdb.BMPBEANBean.ejbInsertAa11():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
    
    
    
  }
  public com.cwj.userjmssesenbdb.BMPBEANPK ejbdeleteAa11(java.lang.String arg0){
    java.lang.Throwable ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper wrap = 
    super.preEntityHomeInvoke(md_ejbHomeejbdeleteAa11_S);
    
    BMPBEAN_4ovokw_Intf bean = (BMPBEAN_4ovokw_Intf)wrap.getBean();
    int oldState = bean.__WL_getMethodState();
    com.cwj.userjmssesenbdb.BMPBEANPK result = null;
    
    try {
      bean.__WL_setMethodState(WLEnterpriseBean.STATE_EJBHOME);
      result =  bean.ejbHomeEjbdeleteAa11( arg0);
    } catch (java.lang.Throwable t) {
      ee = t;
    }
    finally {
      bean.__WL_setMethodState(oldState);
    }
    try {
      super.postEntityHomeInvoke(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 " +
        "com.cwj.userjmssesenbdb.BMPBEANBean.ejbdeleteAa11():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
    
    
    
  }
  
  
  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 + -