📄 sessionbean_mm3mtc_eoimpl.java
字号:
/**
* This code was automatically generated at 9:07:33 on 2007-7-17
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1 SP4 Sat Jan 8 02:45:14 PST 2005 485534
* @author Copyright (c) 2007 by BEA Systems, Inc. All Rights Reserved.
*/
package software;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class sessionBean_mm3mtc_EOImpl
extends weblogic.ejb20.internal.StatelessEJBObject
implements software.session, weblogic.utils.PlatformConstants
{
public sessionBean_mm3mtc_EOImpl() {}
public java.util.Collection getTypeSoftwares(java.lang.String arg0)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.internal.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((sessionBean_mm3mtc_HomeImpl)getEJBHome()).md_eo_getTypeSoftwares_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}));
}
sessionBean_mm3mtc_Intf __bean = (sessionBean_mm3mtc_Intf) __wrap.getBean();
java.util.Collection result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getTypeSoftwares( 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 " +
"software.sessionBean.getTypeSoftwares():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.util.Collection getTypes() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.internal.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((sessionBean_mm3mtc_HomeImpl)getEJBHome()).md_eo_getTypes;
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 [] { }));
}
sessionBean_mm3mtc_Intf __bean = (sessionBean_mm3mtc_Intf) __wrap.getBean();
java.util.Collection result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getTypes();
} 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 " +
"software.sessionBean.getTypes():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void addAdmin(java.lang.String arg0, java.lang.String arg1)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.internal.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((sessionBean_mm3mtc_HomeImpl)getEJBHome()).md_eo_addAdmin_SS;
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}));
}
sessionBean_mm3mtc_Intf __bean = (sessionBean_mm3mtc_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.addAdmin( arg0, arg1);
} 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 " +
"software.sessionBean.addAdmin():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public java.util.Collection showResult(java.lang.String arg0)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.internal.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((sessionBean_mm3mtc_HomeImpl)getEJBHome()).md_eo_showResult_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}));
}
sessionBean_mm3mtc_Intf __bean = (sessionBean_mm3mtc_Intf) __wrap.getBean();
java.util.Collection result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.showResult( 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 " +
"software.sessionBean.showResult():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.util.Collection getAll() throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.internal.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((sessionBean_mm3mtc_HomeImpl)getEJBHome()).md_eo_getAll;
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 [] { }));
}
sessionBean_mm3mtc_Intf __bean = (sessionBean_mm3mtc_Intf) __wrap.getBean();
java.util.Collection result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getAll();
} 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 " +
"software.sessionBean.getAll():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -