【Java开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了Java开源代码-Contact_gnsg8g_LocalHomeImpl.java的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
/**
* This code was automatically generated at 14:53:30 on 2003-8-8
* 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 cmp2bean;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class Contact_gnsg8g_LocalHomeImpl
extends weblogic.ejb20.internal.EntityEJBLocalHome
implements cmp2bean.ContactHome, weblogic.utils.PlatformConstants
, weblogic.ejb.QueryLocalHome
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_getFirst;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setFirst_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getEmail;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setEmail_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getLast;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
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_O;
static {
try {
mth_ejbCreate_S = Contact_gnsg8g_Intf.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class});
if (true) {
mth_postejbCreate_S = Contact_gnsg8g_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 Contact_gnsg8g_LocalHomeImpl() {
super(Contact_gnsg8g_ELOImpl.class
, java.lang.String.class);
}
public cmp2bean.Contact create (java.lang.String arg0)
throws javax.ejb.CreateException
{
try {
return (cmp2bean.Contact) super.create(md_ejbCreate_S,
mth_ejbCreate_S, mth_postejbCreate_S,
new Object [] { arg0});
} 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 cmp2bean.Contact findByPrimaryKey(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (cmp2bean.Contact)
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 void remove(java.lang.Object pk)
throws javax.ejb.RemoveException
{
super.remove(md_ejbRemove_O, pk);
}
}
上一篇:
Contact_gnsg8g_Intf.java
下一篇:
恋沫