SmartEntityReference Interface
- public interface SmartEntityReference
A smart handle optimizes the the use of handles for entity beans by
storing a local copy of the primary key (SmartKey) for the BSC
Entity. This optimizes one of the most commonly performed
operations of retrieving the key without accessing the remote
object. This also makes it possible to compare the entities
referenced by the smart handles.
Related Topics
Entity
-
All Known Implementing Classes
-
BMPSmartEntityReference
, PersistenceHelper.DefaultSmartEntityReference
compareTo(EJBObject) Method
public int compareTo(EJBObject
ejbObject)
compareTo(SmartEntityReference) Method
public int compareTo(SmartEntityReference
smartEntityReference)
getEJBObject() Method
public EJBObject
getEJBObject()
Returns the EJBObject.
If the SmartHandle is empty, it returns null.
getJNDIName() Method
public String
getJNDIName()
setEJBObject(EJBObject) Method
public void setEJBObject(EJBObject
ejbObject)