ShoppingCart_cycb4w_HomeImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:4k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 16:10:09 on 2003-8-29
- * 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 sfsbsample;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class ShoppingCart_cycb4w_HomeImpl
- extends weblogic.ejb20.internal.StatefulEJBHome
- implements sfsbsample.ShoppingCartHome, weblogic.utils.PlatformConstants
- {
- public weblogic.ejb20.internal.MethodDescriptor md_eo_deleteASchedule_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_addASchedule_sfsbsample_ScheduleVO;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_checkOut;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_emptyMyScheduleList;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getTotalCost;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getMyScheduleList;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbCreateCustom_SS;
- private static java.lang.reflect.Method mth_ejbCreate;
- private static java.lang.reflect.Method mth_postejbCreate;
- private static java.lang.reflect.Method mth_ejbCreateCustom_SS;
- private static java.lang.reflect.Method mth_postejbCreateCustom_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 = ShoppingCart_cycb4w_Intf.class.getMethod(
- "ejbCreate", null);
- if (false) {
- mth_postejbCreate = ShoppingCart_cycb4w_Intf.class.getMethod(
- "ejbPostCreate", null);
- }
- mth_ejbCreateCustom_SS = ShoppingCart_cycb4w_Intf.class.getMethod(
- "ejbCreateCustom", new Class [] {java.lang.String.class, java.lang.String.class});
- if (false) {
- mth_postejbCreateCustom_SS = ShoppingCart_cycb4w_Intf.class.getMethod(
- "ejbPostCreateCustom", 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 ShoppingCart_cycb4w_HomeImpl() {
- super(ShoppingCart_cycb4w_EOImpl.class
- );
- }
- public sfsbsample.ShoppingCart create ()
- throws javax.ejb.CreateException, java.rmi.RemoteException
- {
- try {
- return (sfsbsample.ShoppingCart) super.create(md_ejbCreate,
- mth_ejbCreate,
- new Object [] { });
- } 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 sfsbsample.ShoppingCart createCustom (java.lang.String arg0,java.lang.String arg1)
- throws javax.ejb.CreateException, java.rmi.RemoteException
- {
- try {
- return (sfsbsample.ShoppingCart) super.create(md_ejbCreateCustom_SS,
- mth_ejbCreateCustom_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);
- }
- }