WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.wlec.ejb.simpapp
Interface ConverterHome

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

public interface ConverterHome
extends javax.ejb.EJBHome

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

Author:
Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.

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

Method Detail

create

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

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.