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

📄 enterprise1_qozm0g_eoimpl.java

📁 以前自己学习EJB编程时
💻 JAVA
字号:
/**
* This code was automatically generated at 9:27:33 on 2007-9-13
* 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) 2007 by BEA Systems, Inc. All Rights Reserved.
*/

package helloejb;

import weblogic.ejb20.interfaces.WLEnterpriseBean;

public final class Enterprise1_qozm0g_EOImpl
extends weblogic.ejb20.internal.StatelessEJBObject
implements helloejb.Enterprise1, weblogic.utils.PlatformConstants
{
  
  public Enterprise1_qozm0g_EOImpl() {}
  
  public java.lang.String sayHello(java.lang.String arg0)
  throws java.rmi.RemoteException
  {
    java.lang.Throwable __ee = null;
    
    weblogic.ejb20.interfaces.InvocationWrapper __wrap;
    weblogic.ejb20.internal.MethodDescriptor __md = 
    ((Enterprise1_qozm0g_HomeImpl)getEJBHome()).md_eo_sayHello_S;
    try {
      __wrap = super.preInvoke(
      __md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
    } catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
      __wrap = super.preInvoke(
      __md, new weblogic.ejb20.internal.EJBContextHandler(
      __md, new Object [] {  arg0}));          
    }
    
    Enterprise1_qozm0g_Intf __bean = (Enterprise1_qozm0g_Intf) __wrap.getBean();
    
    java.lang.String result = null;
    
    int __oldState = __bean.__WL_getMethodState();
    
    try {
      __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
      
      result =  __bean.sayHello( arg0);
      
    } catch (java.lang.Throwable t) {
      __ee = t;
    }
    finally {
      __bean.__WL_setMethodState(__oldState);
    }
    
    try {
      super.postInvoke(__wrap, __ee);
      
    } catch (java.lang.Exception e) {
      if (e instanceof java.rmi.RemoteException) {
        throw (java.rmi.RemoteException)e;
      } 
      
      else {
        throw new java.rmi.UnexpectedException("Unexpected exception in " +
        "helloejb.Enterprise1Bean.sayHello():" + EOL +	
        weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
      } 
    }
    return result;
  }
  
  
  
  public void remove()
  throws javax.ejb.RemoveException, java.rmi.RemoteException
  {
    super.remove(((Enterprise1_qozm0g_HomeImpl)getEJBHome()).md_eo_remove);
  }
  
}

⌨️ 快捷键说明

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