📄 ejbaccountsbean_vfjrgd_homeimpl.java
字号:
/**
* This code was automatically generated at 18:58:25 on 2002-11-10
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 7.0 Thu Jun 20 11:47:11 PDT 2002 190955
* @author Copyright (c) 2002 by BEA Systems, Inc. All Rights Reserved.
*/
package sqlaccounts;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class EjbAccountsBean_vfjrgd_HomeImpl
extends weblogic.ejb20.internal.EntityEJBHome
implements sqlaccounts.EjbAccountsHome, weblogic.utils.PlatformConstants
, weblogic.ejb.QueryHome
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_getId;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setId_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_withdraw_d;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getBal;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setType_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setBal_d;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getType;
public weblogic.ejb20.internal.MethodDescriptor md_eo_deposit_d;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SSd;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByType_S;
private static java.lang.reflect.Method mth_ejbCreate_S;
private static java.lang.reflect.Method mth_postejbCreate_S;
private static java.lang.reflect.Method mth_ejbCreate_SSd;
private static java.lang.reflect.Method mth_postejbCreate_SSd;
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_S = EjbAccountsBean.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class});
if (true) {
mth_postejbCreate_S = EjbAccountsBean.class.getMethod(
"ejbPostCreate", new Class [] {java.lang.String.class});
}
mth_ejbCreate_SSd = EjbAccountsBean.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class, double.class});
if (true) {
mth_postejbCreate_SSd = EjbAccountsBean.class.getMethod(
"ejbPostCreate", new Class [] {java.lang.String.class, java.lang.String.class, double.class});
}
} catch (Exception e) {
throw new weblogic.utils.AssertionError("Unable to find expected "+
"methods. Please check your classpath for stale versions of "+
"your ejb classes and re-run weblogic.ejbc");
}
}
public EjbAccountsBean_vfjrgd_HomeImpl() {
super(EjbAccountsBean_vfjrgd_EOImpl.class
, java.lang.String.class);
}
public sqlaccounts.EjbAccounts create (java.lang.String arg0)
throws java.rmi.RemoteException, javax.ejb.CreateException
{
try {
return (sqlaccounts.EjbAccounts) 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 sqlaccounts.EjbAccounts create (java.lang.String arg0,java.lang.String arg1,double arg2)
throws java.rmi.RemoteException, javax.ejb.CreateException
{
try {
return (sqlaccounts.EjbAccounts) super.create(md_ejbCreate_SSd,
mth_ejbCreate_SSd, mth_postejbCreate_SSd,
new Object [] { arg0, arg1,new Double( 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 sqlaccounts.EjbAccounts findByPrimaryKey(java.lang.String arg0)
throws java.rmi.RemoteException, javax.ejb.FinderException
{
try {
return (sqlaccounts.EjbAccounts)
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 findByType(java.lang.String arg0)
throws java.rmi.RemoteException, javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindByType_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);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -