samples.j2ee.ejb.subclass.parent
Interface Parent
- All Known Subinterfaces:
- Child
- public interface Parent
- extends javax.ejb.EJBObject, java.rmi.Remote
The methods in this interface are the public face of ParentBean.
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, ParentBeanE, implements this interface and
delegates to the bean.
|
Method Summary |
java.lang.String |
parentMethodOnly()
Sends back a pre-defined message identifying the method. |
java.lang.String |
parentSaysHello()
Sends back a pre-defined message identifying the method. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
parentSaysHello
public java.lang.String parentSaysHello()
throws java.rmi.RemoteException
- Sends back a pre-defined message identifying the method.
This method is inherited and overloaded by the Child bean.
- Returns:
- String Message
- Throws:
- java.rmi.RemoteException - if there is
a communications or systems failure
parentMethodOnly
public java.lang.String parentMethodOnly()
throws java.rmi.RemoteException
- Sends back a pre-defined message identifying the method.
This method is inherited but not overloaded by the Child bean.
- Returns:
- String Message
- Throws:
- java.rmi.RemoteException - if there is
a communications or systems failure