StudentBmp_gv07c4_LocalHomeImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:5k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 16:20:06 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 bmpsample;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class StudentBmp_gv07c4_LocalHomeImpl
- extends weblogic.ejb20.internal.EntityEJBLocalHome
- implements bmpsample.StudentBmpHome, weblogic.utils.PlatformConstants
- {
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getPassword;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setLastName_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getEmail;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getCompanyName;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setEmail_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getFirstName;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_deleteASchedule_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setPhone_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setFirstName_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setPassword_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getLastName;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_addASchedule_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setCompanyName_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getPhone;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getScheduleList;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SSSSSSS;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByCompanyName_S;
- private static java.lang.reflect.Method mth_ejbCreate_SSSSSSS;
- private static java.lang.reflect.Method mth_postejbCreate_SSSSSSS;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
- static {
- try {
- mth_ejbCreate_SSSSSSS = StudentBmp_gv07c4_Intf.class.getMethod(
- "ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class});
- if (true) {
- mth_postejbCreate_SSSSSSS = StudentBmp_gv07c4_Intf.class.getMethod(
- "ejbPostCreate", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.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 StudentBmp_gv07c4_LocalHomeImpl() {
- super(StudentBmp_gv07c4_ELOImpl.class
- , java.lang.String.class);
- }
- public bmpsample.StudentBmp create (java.lang.String arg0,java.lang.String arg1,java.lang.String arg2,java.lang.String arg3,java.lang.String arg4,java.lang.String arg5,java.lang.String arg6)
- throws javax.ejb.CreateException
- {
- try {
- return (bmpsample.StudentBmp) super.create(md_ejbCreate_SSSSSSS,
- mth_ejbCreate_SSSSSSS, mth_postejbCreate_SSSSSSS,
- new Object [] { arg0, arg1, arg2, arg3, arg4, arg5, arg6});
- } 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 bmpsample.StudentBmp findByPrimaryKey(java.lang.String arg0)
- throws javax.ejb.FinderException
- {
- try {
- return (bmpsample.StudentBmp)
- super.findByPrimaryKey(md_ejbFindByPrimaryKey_S, arg0 );
- } catch (java.lang.Exception e) {
- if (e instanceof javax.ejb.EJBException) {
- throw (javax.ejb.EJBException)e;
- }
- else if (e instanceof javax.ejb.FinderException) {
- throw (javax.ejb.FinderException) e;
- }
- else {
- throw new javax.ejb.FinderException ("Error while finding bean: " +
- e.toString());
- }
- }
- }
- public java.util.Collection findByCompanyName(java.lang.String arg0)
- throws javax.ejb.FinderException
- {
- try {
- return (java.util.Collection)
- super.finder(md_ejbFindByCompanyName_S, new Object [] { arg0} , weblogic.ejb20.internal.EntityEJBHome.COLL_FINDER);
- } catch (java.lang.Exception e) {
- if (e instanceof javax.ejb.EJBException) {
- throw (javax.ejb.EJBException)e;
- }
- else if (e instanceof javax.ejb.FinderException) {
- throw (javax.ejb.FinderException) e;
- }
- else {
- throw new javax.ejb.FinderException ("Error while finding bean: " +
- e.toString());
- }
- }
- }
- public void remove(java.lang.Object pk)
- throws javax.ejb.RemoveException
- {
- super.remove(md_ejbRemove_O, pk);
- }
- }