?? statefulsessionbean_oenfsw_homeimpl.java
字號(hào):
/**
* This code was automatically generated at 11:11:02 on 2004-8-17
* 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) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
package statefulsession.count;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class StatefulSessionBean_oenfsw_HomeImpl
extends weblogic.ejb20.internal.StatefulEJBHome
implements statefulsession.count.StatefulSessionHome, weblogic.utils.PlatformConstants
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_count;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_i;
private static java.lang.reflect.Method mth_ejbCreate_i;
private static java.lang.reflect.Method mth_postejbCreate_i;
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_i = StatefulSessionBean_oenfsw_Intf.class.getMethod(
"ejbCreate", new Class [] {int.class});
if (false) {
mth_postejbCreate_i = StatefulSessionBean_oenfsw_Intf.class.getMethod(
"ejbPostCreate", new Class [] {int.class});
}
} catch (Exception e) {
throw new AssertionError("Unable to find expected "+
"methods. Please check your classpath for stale versions of "+
"your ejb classes and re-run weblogic.ejbc");
}
}
public StatefulSessionBean_oenfsw_HomeImpl() {
super(StatefulSessionBean_oenfsw_EOImpl.class
);
}
public statefulsession.count.StatefulSession create (int arg0)
throws javax.ejb.CreateException, java.rmi.RemoteException
{
try {
return (statefulsession.count.StatefulSession) super.create(md_ejbCreate_i,
mth_ejbCreate_i,
new Object [] { new Integer( 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 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);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -