|
| WebLogic Server 6.0 Code Examples, BEA Systems, Inc. |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.ejb.subclass
Interface ChildHome
- All Superinterfaces:
- javax.ejb.EJBHome, java.rmi.Remote
- public interface ChildHome
- extends javax.ejb.EJBHome
This interface is the home interface for the ChildBean.java,
which in WebLogic is implemented by the code-generated container
class ChildBeanC. 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., Copyright (c) 1998-2000 by BEA Systems, Inc. All Rights Reserved.
Method Summary |
Child |
create()
This method corresponds to the ejbCreate method in the bean
"ChildBean.java". |
Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData, getHomeHandle, remove, remove |
create
public Child create()
throws javax.ejb.CreateException,
java.rmi.RemoteException
- This method corresponds to the ejbCreate method in the bean
"ChildBean.java".
Because of ChildBean is subclassed from ParentBean, the method
will be found in "ParentBean.java".
The parameter sets of the two methods are identical. When the client calls
ChildHome.create()
, the container
allocates an instance of the EJBean and calls ejbCreate()
in the class ParentBean.
- Returns:
- Parent
- Throws:
javax.ejb.CreateException
- if there is
a problem creating the beanjava.rmi.RemoteException
- if there is
a communications or systems failure- See Also:
examples.ejb.subclass.parent.ParentBean
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.