com.ibm.websphere.samples.activitysessions.ASContainerManagedEJB
Interface ASContainerManagedEJBHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface ASContainerManagedEJBHome
extends javax.ejb.EJBHome

This is a Home interface for the ActivitySessions Sample ASContainerManagedEJB Bean


Method Summary
 ASContainerManagedEJB create(int index)
          This Home Interface Method is used to create an ASContextManagedEJB
 ASContainerManagedEJB findByPrimaryKey(ASContainerManagedEJBKey key)
          This Home Interface Method is used to find an ASContextManagedEJB by its primary key.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

ASContainerManagedEJB create(int index)
                             throws javax.ejb.CreateException,
                                    java.rmi.RemoteException
This Home Interface Method is used to create an ASContextManagedEJB

Returns:
com.ibm.websphere.samples.activitysessions.ASContainerManagedEJB
Throws:
javax.ejb.CreateException. - This exception is thrown to indicate a failure to create the entity EJB.
java.rmi.RemoteException - Signals that a Remote exception of some sort has occurred.
javax.ejb.CreateException

findByPrimaryKey

ASContainerManagedEJB findByPrimaryKey(ASContainerManagedEJBKey key)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException
This Home Interface Method is used to find an ASContextManagedEJB by its primary key.

Parameters:
key - com.ibm.websphere.samples.activitysessions.ASContainerManagedEJBKey
Returns:
com.ibm.websphere.samples.activitysessions.ASContainerManagedEJB
Throws:
java.rmi.RemoteException. - This exception is thrown to indicate some sort of remote exception occurred.
javax.ejb.FinderException. - This exception is thrown to indicate a failure to find the entity EJB.
java.rmi.RemoteException
javax.ejb.FinderException