HolidayCalendar_gmxjhs_LocalHomeImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:2k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 11:58:59 on 2003-9-2
- * 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 com.cwj.meetings;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class HolidayCalendar_gmxjhs_LocalHomeImpl
- extends weblogic.ejb20.internal.StatelessEJBLocalHome
- implements com.cwj.meetings.HolidayCalendarLocalHome, weblogic.utils.PlatformConstants
- {
- public weblogic.ejb20.internal.MethodDescriptor md_eo_isCompanyHoliday_java_util_Date;
- 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_O;
- static {
- try {
- mth_ejbCreate = HolidayCalendar_gmxjhs_Intf.class.getMethod(
- "ejbCreate", null);
- if (false) {
- mth_postejbCreate = HolidayCalendar_gmxjhs_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 HolidayCalendar_gmxjhs_LocalHomeImpl() {
- super(HolidayCalendar_gmxjhs_ELOImpl.class
- );
- }
- public com.cwj.meetings.HolidayCalendarLocal create ()
- throws javax.ejb.CreateException
- {
- try {
- return (com.cwj.meetings.HolidayCalendarLocal) super.create(md_ejbCreate);
- } catch (java.lang.Exception e) {
- if (e instanceof javax.ejb.EJBException) {
- throw (javax.ejb.EJBException)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 javax.ejb.RemoveException
- {
- super.remove(md_ejbRemove_O, pk);
- }
- }