SessBean_x985oc_HomeImpl.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:3k
源码类别:
Java编程
开发平台:
Java
- /**
- * This code was automatically generated at 11:24:20 on 2003-8-30
- * 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.userjmssesenbdb;
- import weblogic.ejb20.interfaces.WLEnterpriseBean;
- public final class SessBean_x985oc_HomeImpl
- extends weblogic.ejb20.internal.StatelessEJBHome
- implements com.cwj.userjmssesenbdb.SessHome, weblogic.utils.PlatformConstants
- {
- public weblogic.ejb20.internal.MethodDescriptor md_eo_insTableAa11_SS;
- 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 = SessBean_x985oc_Intf.class.getMethod(
- "ejbCreate", null);
- if (false) {
- mth_postejbCreate = SessBean_x985oc_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 SessBean_x985oc_HomeImpl() {
- super(SessBean_x985oc_EOImpl.class
- );
- }
- public com.cwj.userjmssesenbdb.Sess create ()
- throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
- {
- try {
- return (com.cwj.userjmssesenbdb.Sess) 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 if (e instanceof javax.naming.NamingException) {
- throw (javax.naming.NamingException) 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);
- }
- }