classeslocalhome.java

来自「< J2EE应用开发详解>>一书全部的源代码. 本书基于J」· Java 代码 · 共 31 行

JAVA
31
字号
package com.j2ee14.ch17;

import javax.ejb.*;

public interface ClassesLocalHome extends EJBLocalHome
{
    
    /**
     * @J2EE_METHOD  --  findByPrimaryKey
     * Called by the client to find an EJB bean instance, usually find by primary key.
     * @throws javax.ejb.FinderException
     */
    public ClassesLocal findByPrimaryKey    (String primaryKey) 
                throws FinderException;
    
    /**
     * @J2EE_METHOD  --  create
     * Called by the client to create an EJB bean instance. It requires a matching pair in
     * the bean class, i.e. ejbCreate().
     * @throws java.rmi.RemoteException
     * @throws javax.ejb.CreateException
     */
    public ClassesLocal create    (String pk) 
                throws CreateException;
    
    /**
     * @J2EE_METHOD  --  findAllStudents
     * Called by the client to find an EJB bean instance, usually find by primary key.
     */
    public java.util.Collection findAllStudents    (String classesId) 
                throws FinderException;
}

⌨️ 快捷键说明

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