| javax.ejb.EJBObject
Method Summary | |
EJBHome | getEJBHome() Obtain the enterprise Bean's remote home interface. | Handle | getHandle() Obtain a handle for the EJB object. | Object | getPrimaryKey() Obtain the primary key of the EJB object.
This method can be called on an entity bean. | boolean | isIdentical(EJBObject obj) Test if a given EJB object is identical to the invoked EJB object.
Parameters: obj - An object to test for identity with the invoked object. | void | remove() Remove the EJB object. |
getEJBHome | EJBHome getEJBHome() throws RemoteException(Code) | | Obtain the enterprise Bean's remote home interface. The remote home
interface defines the enterprise Bean's create, finder, remove, and home
business methods.
A reference to the enterprise Bean's home interface. throws: RemoteException - Thrown when the method failed due to asystem-level failure. |
getHandle | Handle getHandle() throws RemoteException(Code) | | Obtain a handle for the EJB object. The handle can be used at later time
to re-obtain a reference to the EJB object, possibly in a different Java
Virtual Machine.
A handle for the EJB object. throws: RemoteException - Thrown when the method failed due to asystem-level failure. |
getPrimaryKey | Object getPrimaryKey() throws RemoteException(Code) | | Obtain the primary key of the EJB object.
This method can be called on an entity bean. An attempt to invoke this
method on a session bean will result in RemoteException.
The EJB object's primary key. throws: RemoteException - Thrown when the method failed due to asystem-level failure or when invoked on a session bean. |
isIdentical | boolean isIdentical(EJBObject obj) throws RemoteException(Code) | | Test if a given EJB object is identical to the invoked EJB object.
Parameters: obj - An object to test for identity with the invoked object. True if the given EJB object is identical to the invoked object,false otherwise. throws: RemoteException - Thrown when the method failed due to asystem-level failure. |
|
|