package examples.ejb.subclass.parent;
import javax.ejb.*;
import java.rmi.RemoteException;
/**
* 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.
*
* @author Copyright (c) 1998 by WebLogic, Inc. All Rights Reserved.
* @author Copyright (c) 1998-1999 by BEA WebXpress. All Rights Reserved.
*/
public interface ParentHome extends EJBHome {
/**
* 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()
.
*
* @return Parent
* @exception CreateException if there is
* a problem creating the bean
* @exception RemoteException if there is
* a communications or systems failure
* @see examples.ejb.subclass.parent.ParentBean
*/
Parent create() throws CreateException, RemoteException;
}