Schedule_dne79a_EOImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:4k
源码类别:
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_EOImpl
- extends weblogic.ejb20.internal.StatelessEJBObject
- implements slsbsample.Schedule, weblogic.utils.PlatformConstants
- {
- public Schedule_dne79a_EOImpl() {}
- public java.util.Vector searchByCourseTitle(java.lang.String arg0)
- throws java.rmi.RemoteException, slsbsample.ScheduleDAOException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((Schedule_dne79a_HomeImpl)getEJBHome()).md_eo_searchByCourseTitle_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}));
- }
- Schedule_dne79a_Intf __bean = (Schedule_dne79a_Intf) __wrap.getBean();
- java.util.Vector result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.searchByCourseTitle( 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 if (e instanceof slsbsample.ScheduleDAOException) {
- throw (slsbsample.ScheduleDAOException) e;
- }
- else {
- throw new java.rmi.UnexpectedException("Unexpected exception in " +
- "slsbsample.ScheduleBean.searchByCourseTitle():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public slsbsample.ScheduleVO searchByScheduleID(java.lang.String arg0)
- throws java.rmi.RemoteException, slsbsample.ScheduleDAOException
- {
- java.lang.Throwable __ee = null;
- weblogic.ejb20.interfaces.InvocationWrapper __wrap;
- weblogic.ejb20.internal.MethodDescriptor __md =
- ((Schedule_dne79a_HomeImpl)getEJBHome()).md_eo_searchByScheduleID_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}));
- }
- Schedule_dne79a_Intf __bean = (Schedule_dne79a_Intf) __wrap.getBean();
- slsbsample.ScheduleVO result = null;
- int __oldState = __bean.__WL_getMethodState();
- try {
- __bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
- result = __bean.searchByScheduleID( 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 if (e instanceof slsbsample.ScheduleDAOException) {
- throw (slsbsample.ScheduleDAOException) e;
- }
- else {
- throw new java.rmi.UnexpectedException("Unexpected exception in " +
- "slsbsample.ScheduleBean.searchByScheduleID():" + EOL +
- weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
- }
- }
- return result;
- }
- public void remove()
- throws javax.ejb.RemoveException, java.rmi.RemoteException
- {
- super.remove(((Schedule_dne79a_HomeImpl)getEJBHome()).md_eo_remove);
- }
- }