javax.ejb

Interface EJBHome

All Superinterfaces:
Remote
Known Subinterfaces:
ConverterHome, ManagementHome

public interface EJBHome
extends Remote

The main ejb context.

Method Summary

EJBMetaData
getEJBMetaData()
HomeHandle
getHomeHandle()
void
remove(Object primaryKey)
void
remove(Handle handle)

Method Details

getEJBMetaData

public EJBMetaData getEJBMetaData()
            throws RemoteException
Usages and Demos :

View More Examples of getEJBMetaData()
   1: 
   2: import javax.ejb.EJBHome;
   3: import javax.ejb.HomeHandle;
   4:         ...
   5:     try {
   6:       EJBHome home = getEJBHome();
   7:     
   8:         ...
   9:       return home.getEJBMetaData().getHomeInterfaceClass();
  10:     } catch (Exception e) {

View Full Code Here

getHomeHandle

public HomeHandle getHomeHandle()
            throws RemoteException
Usages and Demos :

View More Examples of getHomeHandle()
   1: 
   2: import javax.ejb.EJBHome;
   3: import javax.ejb.EJBObject;
   4:         ...
   5:       EJBObject ejbObject = (EJBObject) obj;
   6:       EJBHome ejbHome = ejbObject.getEJBHome();
   7:       
   8:         ...
   9:       
  10:       HomeHandle handle = ejbHome.getHomeHandle();
  11:       

View Full Code Here

remove

public void remove(Object primaryKey)
            throws RemoteException,
                   RemoveException

remove

public void remove(Handle handle)
            throws RemoteException,
                   RemoveException