address_n6e4pc_eloimpl.java
来自「100多M的J2EE培训内容」· Java 代码 · 共 654 行 · 第 1/2 页
JAVA
654 行
/**
* This code was automatically generated at 16:30:07 on 2003-8-29
* 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 cmpsample;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class Address_n6e4pc_ELOImpl
extends weblogic.ejb20.internal.EntityEJBLocalObject
implements cmpsample.Address, weblogic.utils.PlatformConstants, java.io.Serializable
{
public Address_n6e4pc_ELOImpl() {}
public void setCity(java.lang.String arg0)
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((Address_n6e4pc_LocalHomeImpl)getEJBLocalHome()).md_eo_setCity_S;
try {
__wrap = super.preInvokeLite(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvokeLite(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
Address_n6e4pc_Intf __bean = (Address_n6e4pc_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.setCity(
arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvokeLite(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException) e;
}
else {
throw new javax.ejb.EJBException("Unexpected exception in " +
"cmpsample.AddressBean.setCity():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public java.lang.String getStudentID()
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((Address_n6e4pc_LocalHomeImpl)getEJBLocalHome()).md_eo_getStudentID;
try {
__wrap = super.preInvokeLite(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvokeLite(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
Address_n6e4pc_Intf __bean = (Address_n6e4pc_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getStudentID(
);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvokeLite(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException) e;
}
else {
throw new javax.ejb.EJBException("Unexpected exception in " +
"cmpsample.AddressBean.getStudentID():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.lang.String getCity()
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((Address_n6e4pc_LocalHomeImpl)getEJBLocalHome()).md_eo_getCity;
try {
__wrap = super.preInvokeLite(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvokeLite(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
Address_n6e4pc_Intf __bean = (Address_n6e4pc_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getCity(
);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvokeLite(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException) e;
}
else {
throw new javax.ejb.EJBException("Unexpected exception in " +
"cmpsample.AddressBean.getCity():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void setZip(java.lang.String arg0)
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((Address_n6e4pc_LocalHomeImpl)getEJBLocalHome()).md_eo_setZip_S;
try {
__wrap = super.preInvokeLite(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvokeLite(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
Address_n6e4pc_Intf __bean = (Address_n6e4pc_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.setZip(
arg0);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvokeLite(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException) e;
}
else {
throw new javax.ejb.EJBException("Unexpected exception in " +
"cmpsample.AddressBean.setZip():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public java.lang.String getState()
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((Address_n6e4pc_LocalHomeImpl)getEJBLocalHome()).md_eo_getState;
try {
__wrap = super.preInvokeLite(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvokeLite(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
Address_n6e4pc_Intf __bean = (Address_n6e4pc_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getState(
);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvokeLite(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof javax.ejb.EJBException) {
throw (javax.ejb.EJBException) e;
}
else {
throw new javax.ejb.EJBException("Unexpected exception in " +
"cmpsample.AddressBean.getState():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.lang.String getAddressID()
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((Address_n6e4pc_LocalHomeImpl)getEJBLocalHome()).md_eo_getAddressID;
try {
__wrap = super.preInvokeLite(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvokeLite(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { }));
}
Address_n6e4pc_Intf __bean = (Address_n6e4pc_Intf) __wrap.getBean();
java.lang.String result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getAddressID(
);
((weblogic.ejb20.persistence.spi.CMPBean) __bean).__WL_checkExistsOnMethod();
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?