Schedule_dne79a_HomeImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:3k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 16:01:31 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 slsbsample;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class Schedule_dne79a_HomeImpl
- extends weblogic.ejb20.internal.StatelessEJBHome
- implements slsbsample.ScheduleHome, weblogic.utils.PlatformConstants
- {
- public weblogic.ejb20.internal.MethodDescriptor md_eo_searchByCourseTitle_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_searchByScheduleID_S;
- 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_javax_ejb_Handle;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
- static {
- try {
- mth_ejbCreate = Schedule_dne79a_Intf.class.getMethod(
- "ejbCreate", null);
- if (false) {
- mth_postejbCreate = Schedule_dne79a_Intf.class.getMethod(
- "ejbPostCreate", null);
- }
- } 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 Schedule_dne79a_HomeImpl() {
- super(Schedule_dne79a_EOImpl.class
- );
- }
- public slsbsample.Schedule create ()
- throws javax.ejb.CreateException, java.rmi.RemoteException
- {
- try {
- return (slsbsample.Schedule) 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_javax_ejb_Handle, h);
- }
- }