org.openejb.test.beans
Interface EmployeeHome

All Superinterfaces:
javax.ejb.EJBHome, Remote

public interface EmployeeHome
extends javax.ejb.EJBHome


Method Summary
 Employee create(String lastname, String firstName)
           
 Collection findAll()
           
 Employee findByPrimaryKey(Integer primkey)
           
 int sum(int one, int two)
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

Employee create(String lastname,
                String firstName)
                throws javax.ejb.CreateException,
                       RemoteException
Throws:
javax.ejb.CreateException
RemoteException

sum

int sum(int one,
        int two)
        throws RemoteException
Throws:
RemoteException

findAll

Collection findAll()
                   throws javax.ejb.FinderException,
                          RemoteException
Throws:
javax.ejb.FinderException
RemoteException

findByPrimaryKey

Employee findByPrimaryKey(Integer primkey)
                          throws javax.ejb.FinderException,
                                 RemoteException
Throws:
javax.ejb.FinderException
RemoteException


Copyright © 1999-2012 OpenEJB. All Rights Reserved.