javax.ejb

Interface HomeHandle

All Superinterfaces:
Serializable

public interface HomeHandle
extends Serializable

The main ejb context.

Method Summary

EJBHome
getEJBHome()

Method Details

getEJBHome

public EJBHome getEJBHome()
            throws RemoteException
Usages and Demos :

View More Examples of getEJBHome()
   1: import javax.ejb.ObjectNotFoundException;
   2: import javax.ejb.HomeHandle;
   3: import java.rmi.RemoteException;
   4:         ...
   5:         ois = new ObjectInputStream(fis);
   6:         HomeHandle handle;
   7:         ...
   8:         handle = (HomeHandle)ois.readObject();
   9:         ois.close();        
  10:         ...
  11:         resurrected=(StatefulLoginHome)PortableRemoteObject.narrow(
  12:             handle.getEJBHome(),

View Full Code Here
   1: import javax.ejb.ObjectNotFoundException;
   2: import javax.ejb.HomeHandle;
   3: import java.rmi.RemoteException;
   4:         ...
   5:           FileInputStream fis;
   6:           fis = new FileInputStream("c:\\homeHandle.dat");
   7:           ObjectInputStream ois;
   8:         ...
   9:           ois = new ObjectInputStream(fis);
  10:           HomeHandle handle;
  11:           handle = (HomeHandle)ois.readObject();
  12:         ...
  13:           resurrected=(BookHome)PortableRemoteObject.narrow(
  14:                 handle.getEJBHome(),

View Full Code Here
   1: 
   2: import javax.ejb.HomeHandle;
   3: import java.io.ObjectStreamException;
   4:         ...
   5: class RemoteHomeSkeletonWrapper implements Serializable {
   6:   protected HomeHandle handle;
   7: 
   8:         ...
   9: 
  10:   public RemoteHomeSkeletonWrapper(HomeHandle handle)
  11:   {
  12:         ...
  13:     try {
  14:       return handle.getEJBHome();

View Full Code Here
   1: 
   2: import javax.ejb.HomeHandle;
   3: import javax.ejb.EJBMetaData;
   4:         ...
   5:     
   6:     HomeHandle homeHandle;
   7:     
   8:         ...
   9:         try {
  10:             return homeHandle.getEJBHome();
  11:         }

View Full Code Here
   1: 
   2: import javax.ejb.HomeHandle;
   3: import javax.ejb.EJBMetaData;
   4:         ...
   5:          final boolean statelessSession,
   6:          final HomeHandle homeHandle)
   7:    {
   8:         ...
   9:       {
  10:          return homeHandle.getEJBHome();
  11:       }

View Full Code Here