📄 ejbaccountsbean_vfjrgd_eoimpl.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_EOImpl
extends weblogic.ejb20.internal.EntityEJBObject_Activatable
implements sqlaccounts.EjbAccounts, weblogic.utils.PlatformConstants
{
public EjbAccountsBean_vfjrgd_EOImpl() {}
public java.lang.String getId() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_getId;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = ((EjbAccountsBean) __bean).getId();
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.getId():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void setId(java.lang.String arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_setId_S;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
((EjbAccountsBean) __bean).setId( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.setId():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public double withdraw(double arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_withdraw_d;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { new Double( arg0)}));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
double result = 0;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = ((EjbAccountsBean) __bean).withdraw( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.withdraw():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public double getBal() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_getBal;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
double result = 0;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = ((EjbAccountsBean) __bean).getBal();
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.getBal():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void setType(java.lang.String arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_setType_S;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
((EjbAccountsBean) __bean).setType( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.setType():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public void setBal(double arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_setBal_d;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { new Double( arg0)}));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
((EjbAccountsBean) __bean).setBal( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.setBal():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public java.lang.String getType() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_getType;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = ((EjbAccountsBean) __bean).getType();
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.getType():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public double deposit(double arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_deposit_d;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { new Double( arg0)}));
}
WLEnterpriseBean __bean = (WLEnterpriseBean) __wrap.getBean();
double result = 0;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = ((EjbAccountsBean) __bean).deposit( arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"sqlaccounts.EjbAccountsBean.deposit():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void remove()
throws javax.ejb.RemoveException, java.rmi.RemoteException
{
super.remove(((EjbAccountsBean_vfjrgd_HomeImpl)getEJBHome()).md_eo_remove);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -