📄 employeecustomerbean_i45dqg_eoimpl.java
字号:
/**
* This code was automatically generated at 8:22:57 on 2005-4-22
* 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 testejb;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class EmployeeCustomerBean_i45dqg_EOImpl
extends weblogic.ejb20.internal.StatelessEJBObject
implements testejb.EmployeeCustomer, weblogic.utils.PlatformConstants
{
public EmployeeCustomerBean_i45dqg_EOImpl() {}
public testejb.customer displaysingle(java.lang.String arg0)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EmployeeCustomerBean_i45dqg_HomeImpl)getEJBHome()).md_eo_displaysingle_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}));
}
EmployeeCustomerBean_i45dqg_Intf __bean = (EmployeeCustomerBean_i45dqg_Intf) __wrap.getBean();
testejb.customer result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.displaysingle( arg0);
} 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 " +
"testejb.EmployeeCustomerBean.displaysingle():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public boolean deleteCustomer(java.lang.String arg0)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EmployeeCustomerBean_i45dqg_HomeImpl)getEJBHome()).md_eo_deleteCustomer_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}));
}
EmployeeCustomerBean_i45dqg_Intf __bean = (EmployeeCustomerBean_i45dqg_Intf) __wrap.getBean();
boolean result = false;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.deleteCustomer( arg0);
} 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 " +
"testejb.EmployeeCustomerBean.deleteCustomer():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.util.Vector display() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EmployeeCustomerBean_i45dqg_HomeImpl)getEJBHome()).md_eo_display;
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 [] { }));
}
EmployeeCustomerBean_i45dqg_Intf __bean = (EmployeeCustomerBean_i45dqg_Intf) __wrap.getBean();
java.util.Vector result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.display();
} 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 " +
"testejb.EmployeeCustomerBean.display():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public boolean updatecustomer(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5, java.lang.String arg6)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EmployeeCustomerBean_i45dqg_HomeImpl)getEJBHome()).md_eo_updatecustomer_SSSSSSS;
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, arg1, arg2, arg3, arg4, arg5, arg6}));
}
EmployeeCustomerBean_i45dqg_Intf __bean = (EmployeeCustomerBean_i45dqg_Intf) __wrap.getBean();
boolean result = false;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.updatecustomer( arg0, arg1, arg2, arg3, arg4, arg5, arg6);
} 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 " +
"testejb.EmployeeCustomerBean.updatecustomer():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public boolean addCustomer(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5, java.lang.String arg6)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((EmployeeCustomerBean_i45dqg_HomeImpl)getEJBHome()).md_eo_addCustomer_SSSSSSS;
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, arg1, arg2, arg3, arg4, arg5, arg6}));
}
EmployeeCustomerBean_i45dqg_Intf __bean = (EmployeeCustomerBean_i45dqg_Intf) __wrap.getBean();
boolean result = false;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.addCustomer( arg0, arg1, arg2, arg3, arg4, arg5, arg6);
} 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 " +
"testejb.EmployeeCustomerBean.addCustomer():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void remove()
throws javax.ejb.RemoveException, java.rmi.RemoteException
{
super.remove(((EmployeeCustomerBean_i45dqg_HomeImpl)getEJBHome()).md_eo_remove);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -