samples.j2ee.ejb.subclass.parent
Interface ParentHome


public interface ParentHome
extends javax.ejb.EJBHome

This interface is the home interface for the ParentBean.java, which in WebLogic is implemented by the code-generated container class ParentBeanC. A home interface may support one or more create methods, which must correspond to methods named "ejbCreate" in the EJBean.


Method Summary
 Parent create()
          This method corresponds to the ejbCreate method in the bean "ParentBean.java".
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Parent create()
              throws javax.ejb.CreateException,
                     java.rmi.RemoteException
This method corresponds to the ejbCreate method in the bean "ParentBean.java". The parameter sets of the two methods are identical. When the client calls ParentHome.create(), the container allocates an instance of the EJBean and calls ejbCreate().
Returns:
Parent
Throws:
javax.ejb.CreateException - if there is a problem creating the bean
java.rmi.RemoteException - if there is a communications or systems failure
See Also:
ParentBean