WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.ejb.subclass
Interface Child

All Superinterfaces:
javax.ejb.EJBObject, Parent, java.rmi.Remote

public interface Child
extends Parent

The methods in this interface are the public face of ChildBean. The signatures of the methods are identical to those of the EJBean, except that these methods throw a java.rmi.RemoteException.

Note that the EJBean does not implement this interface. The corresponding code-generated EJBObject, ChildBeanE, implements this interface and delegates to the bean.

Note that the only method defined in this interface is the one unique to the ChildBean. All other methods are inherited from the Parent interface.

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

Method Summary
 java.lang.String childOnlyMethod()
          Sends back a pre-defined message identifying the method.
 
Methods inherited from interface examples.ejb.subclass.Parent
nonOverloadedMethod, sayHello
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

childOnlyMethod

public java.lang.String childOnlyMethod()
                                 throws java.rmi.RemoteException
Sends back a pre-defined message identifying the method. This method is unique to the Child bean.
Returns:
String Message
Throws:
java.rmi.RemoteException - if there is a communications or systems failure

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

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