【Java开源代码栏目提醒】:网学会员为需要Java开源代码的朋友们搜集整理了WbMaterial_utl58_LocalHomeImpl.java相关资料,希望对各位网友有所帮助!
/**
* This code was automatically generated at 15:19:52 on 2005-12-9
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1 Fri Dec 5 15:01:51 PST 2003 316284
* @author Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
*/
package personal_payout_manage.ejbs;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class WbMaterial_utl58_LocalHomeImpl
extends weblogic.ejb20.internal.EntityEJBLocalHome
implements personal_payout_manage.ejbs.WbMaterialHome, weblogic.utils.PlatformConstants
, weblogic.ejb.QueryLocalHome
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_getMname;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getWbPayout;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setWbPayout_java_util_Collection;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getMsn;
public
weblogic.ejb20.internal.MethodDescriptor md_eo_getNote;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setNote_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SS;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindAllMaterial;
private static java.lang.reflect.Method mth_ejbCreate_SS;
private static java.lang.reflect.Method mth_postejbCreate_SS;
public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
static {
try {
mth_ejbCreate_SS = WbMaterial_utl58_Intf.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class});
if (true) {
mth_postejbCreate_SS = WbMaterial_utl58_Intf.class.getMethod(
"ejbPostCreate", new 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 WbMaterial_utl58_LocalHomeImpl() {
super(WbMaterial_utl58_ELOImpl.class
, java.lang.String.class);
}
public personal_payout_manage.ejbs.WbMaterial create (java.lang.String arg0,java.lang.String arg1)
throws javax.ejb.CreateException
{
try {
return (personal_payout_manage.ejbs.WbMaterial) super.create(md_ejbCreate_SS,
mth_ejbCreate_SS, mth_postejbCreate_SS,
new Object [] { arg0, arg1});
} 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 personal_payout_manage.ejbs.WbMaterial findByPrimaryKey(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (personal_payout_manage.ejbs.WbMaterial)
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 findAllMaterial()
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindAllMaterial, new Object [] { } , 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);
}
}