machinehome.java

来自「EJB_原代码多例-好好东西啊」· Java 代码 · 共 23 行

JAVA
23
字号
package com.wiley.compBooks.roman.session.fazuul;

import javax.ejb.*;
import java.rmi.RemoteException;

/**
 * This is the home interface for MachineBean.  This interface is implemented
 * by the EJB Server's glue-code tools - the implemented object is called
 * the Home Object, and serves as a factory for EJB Objects.
 * 
 * One create() method is in this Home Interface, which corresponds to the
 * ejbCreate() method in the MachineBean file.
 */
public interface MachineHome extends EJBHome {

   /*
    * This method creates the EJB Object.
    *
    * @return The newly created EJB Object.
    */
   public Machine create() throws RemoteException, CreateException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?