javax.ejb
Interface EJBLocalHome


public interface EJBLocalHome

Used by EJB 2.1 for their business local home interface.

Author:
Florent Benoit
See Also:
EJB 3.0 specification

Method Summary
 void remove(java.lang.Object primaryKey)
          Remove an EJB object identified by its primary key.
This method can only be used by local clients of an entity bean.
 

Method Detail

remove

void remove(java.lang.Object primaryKey)
            throws RemoveException,
                   EJBException
Remove an EJB object identified by its primary key.
This method can only be used by local clients of an entity bean. An attempt to call this method on a session bean will result in a RemoveException.

Parameters:
primaryKey - the given primary key
Throws:
RemoveException - Thrown if the enterprise Bean or the container does not allow the client to remove the object.
EJBException - Thrown when the method failed due to a system-level failure.


Copyright © 2008. All Rights Reserved.