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

📄 samplebean_f1lhsm_homeimpl.java

📁 EJB的相关学习资料
💻 JAVA
字号:
/**
 * This code was automatically generated at 0:47:43 on 2005-3-17
 * by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
 *
 * @version unknown
 * @author Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
 */

package debugejb;

public final class sampleBean_f1lhsm_HomeImpl
     extends    weblogic.ejb20.internal.StatelessEJBHome
     implements debugejb.sampleHome, weblogic.utils.PlatformConstants
                
{
  public weblogic.ejb20.internal.MethodDescriptor md_eo_test;


  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate;


  

  
  private static java.lang.reflect.Method mth_ejbCreate;
  private static java.lang.reflect.Method mth_postejbCreate;



  

  public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;

  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_Handle;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;

  static {

    try {

      
  mth_ejbCreate = sampleBean.class.getMethod(
    "ejbCreate", null);

  if (false) {
    mth_postejbCreate = sampleBean.class.getMethod(
        "ejbPostCreate", null); 
  }





    } catch (Exception e) {
      throw new weblogic.utils.AssertionError("Unable to find expected "+
        "methods.  Please check your classpath for stale versions of "+
        "your ejb classes and re-run weblogic.ejbc");
    }
  }


  public sampleBean_f1lhsm_HomeImpl() {
    super(sampleBean_f1lhsm_EOImpl.class
          );
  }

  
public debugejb.sample create ()
   throws javax.ejb.CreateException, java.rmi.RemoteException
{
  try {
    return (debugejb.sample) super.create(md_ejbCreate);
  } catch (java.lang.Exception e) {
    if (e instanceof java.rmi.RemoteException) {
      throw (java.rmi.RemoteException)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 void remove(java.lang.Object pk) 
    throws java.rmi.RemoteException, javax.ejb.RemoveException
  {
    super.remove(md_ejbRemove_O, pk);
  }

  public void remove(javax.ejb.Handle h)
    throws java.rmi.RemoteException, javax.ejb.RemoveException
  {
    super.remove(md_ejbRemove_Handle, h);
  }


}

⌨️ 快捷键说明

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