traderhome.java
来自「ejb20_src_basic.rar」· Java 代码 · 共 33 行
JAVA
33 行
package examples.ejb20.basic.statefulSession;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
/**
* This interface is the home interface for the TraderBean.java,
* which in WebLogic is implemented by the code-generated container
* class TraderBeanC. A home interface may support one or more create
* methods, which must correspond to methods named "ejbCreate" in the EJBean.
*
* @author Copyright (c) 1998-2003 by BEA Systems, Inc. All Rights Reserved.
*/
public interface TraderHome extends EJBHome {
/**
* This method corresponds to the ejbCreate method in the bean
* "TraderBean.java".
* The parameter sets of the two methods are identical. When the client calls
* <code>TraderHome.create()</code>, the container
* allocates an instance of the EJBean and calls <code>ejbCreate()</code>.
*
* @return Trader
* @exception RemoteException if there is
* a communications or systems failure
* @exception CreateException
* if there is a error creating the bean
* @see examples.ejb20.basic.statefulSession.TraderBean
*/
Trader create() throws CreateException, RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?