Home » openejb-3.1.2-src » javax » ejb » [javadoc | source]
public interface: EJBLocalObject [javadoc | source]

The EJBLocalObject interface must be extended by all enterprise Beans' local interfaces. An enterprise Bean's local interface provides the local client view of an EJB object. An enterprise Bean's local interface defines the business methods callable by local clients.

The enterprise Bean's local interface is defined by the enterprise Bean provider and implemented by the enterprise Bean container.

Method from javax.ejb.EJBLocalObject Summary:
getEJBLocalHome,   getPrimaryKey,   isIdentical,   remove
Method from javax.ejb.EJBLocalObject Detail:
 public EJBLocalHome getEJBLocalHome() throws EJBException
    Obtain the enterprise Bean's local home interface. The local home interface defines the enterprise Bean's create, finder, remove, and home business methods that are available to local clients.
 public Object getPrimaryKey() throws EJBException

    Obtain the primary key of the EJB local object.

    This method can be called on an entity bean. An attempt to invoke this method on a session Bean will result in an EJBException.

 public boolean isIdentical(EJBLocalObject obj) throws EJBException
    Test if a given EJB local object is identical to the invoked EJB local object.
 public  void remove() throws RemoveException, EJBException
    Remove the EJB local object.