cartbean_1tag0_homeimpl.java
来自「书籍源程序《J2EE应用开发(WebLogic+JBuilder)》代码」· Java 代码 · 共 114 行
JAVA
114 行
/**
* This code was automatically generated at 10:45:25 on 2005-8-13
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
* @author Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
*/
package cartproject;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class cartBean_1tag0_HomeImpl
extends weblogic.ejb20.internal.StatefulEJBHome
implements cartproject.cartHome, weblogic.utils.PlatformConstants
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_purchase;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getTotalPrice;
public weblogic.ejb20.internal.MethodDescriptor md_eo_removeItem_cartproject_Item;
public weblogic.ejb20.internal.MethodDescriptor md_eo_addItem_cartproject_Item;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SS;
private static java.lang.reflect.Method mth_ejbCreate_SS;
private static java.lang.reflect.Method mth_postejbCreate_SS;
public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_javax_ejb_Handle;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
static {
try {
mth_ejbCreate_SS = cartBean.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class});
if (false) {
mth_postejbCreate_SS = cartBean.class.getMethod(
"ejbPostCreate", new Class [] {java.lang.String.class, java.lang.String.class});
}
} 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 cartBean_1tag0_HomeImpl() {
super(cartBean_1tag0_EOImpl.class
);
}
public cartproject.cart create (java.lang.String arg0,java.lang.String arg1)
throws java.rmi.RemoteException, javax.ejb.CreateException
{
try {
return (cartproject.cart) super.create(md_ejbCreate_SS,
mth_ejbCreate_SS,
new Object [] { arg0, arg1});
} 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_javax_ejb_Handle, h);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?