Student_z53p80_HomeImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:6k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 13:53:49 on 2003-9-3
- * 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.entitybeandempcmp;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class Student_z53p80_HomeImpl
- extends weblogic.ejb20.internal.EntityEJBHome
- implements com.cwj.entitybeandempcmp.StudentRemoteHome, weblogic.utils.PlatformConstants
- , weblogic.ejb.QueryHome
- {
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setLastname_S;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getLastname;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getFirstname;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_getStudentID;
- public weblogic.ejb20.internal.MethodDescriptor md_eo_setFirstname_S;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SSS;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_S;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
- public weblogic.ejb20.internal.MethodDescriptor md_ejbFindLastName_S;
- private static java.lang.reflect.Method mth_ejbCreate_SSS;
- private static java.lang.reflect.Method mth_postejbCreate_SSS;
- private static java.lang.reflect.Method mth_ejbCreate_S;
- private static java.lang.reflect.Method mth_postejbCreate_S;
- 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_SSS = Student_z53p80_Intf.class.getMethod(
- "ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class});
- if (true) {
- mth_postejbCreate_SSS = Student_z53p80_Intf.class.getMethod(
- "ejbPostCreate", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class});
- }
- mth_ejbCreate_S = Student_z53p80_Intf.class.getMethod(
- "ejbCreate", new Class [] {java.lang.String.class});
- if (true) {
- mth_postejbCreate_S = Student_z53p80_Intf.class.getMethod(
- "ejbPostCreate", new 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 Student_z53p80_HomeImpl() {
- super(Student_z53p80_EOImpl.class
- , java.lang.String.class);
- }
- public com.cwj.entitybeandempcmp.StudentRemote create (java.lang.String arg0,java.lang.String arg1,java.lang.String arg2)
- throws javax.ejb.CreateException, java.rmi.RemoteException
- {
- try {
- return (com.cwj.entitybeandempcmp.StudentRemote) super.create(md_ejbCreate_SSS,
- mth_ejbCreate_SSS, mth_postejbCreate_SSS,
- new Object [] { arg0, arg1, arg2});
- } 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 com.cwj.entitybeandempcmp.StudentRemote create (java.lang.String arg0)
- throws javax.ejb.CreateException, java.rmi.RemoteException
- {
- try {
- return (com.cwj.entitybeandempcmp.StudentRemote) super.create(md_ejbCreate_S,
- mth_ejbCreate_S, mth_postejbCreate_S,
- new Object [] { arg0});
- } 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 com.cwj.entitybeandempcmp.StudentRemote findByPrimaryKey(java.lang.String arg0)
- throws javax.ejb.FinderException, java.rmi.RemoteException
- {
- try {
- return (com.cwj.entitybeandempcmp.StudentRemote)
- super.findByPrimaryKey(md_ejbFindByPrimaryKey_S, arg0 );
- } catch (java.lang.Exception e) {
- if (e instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)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 findLastName(java.lang.String arg0)
- throws javax.ejb.FinderException, java.rmi.RemoteException
- {
- try {
- return (java.util.Collection)
- super.finder(md_ejbFindLastName_S, new Object [] { arg0} , weblogic.ejb20.internal.EntityEJBHome.COLL_FINDER);
- } catch (java.lang.Exception e) {
- if (e instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)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 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);
- }
- }