WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.ejb.subclass
Class ChildBean

java.lang.Object
  |
  +--examples.ejb.subclass.ParentBean
        |
        +--examples.ejb.subclass.ChildBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class ChildBean
extends ParentBean

ChildBean is a stateless SessionBean. This bean illustrates:

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

Fields inherited from class examples.ejb.subclass.ParentBean
ctx, VERBOSE
 
Constructor Summary
ChildBean()
           
 
Method Summary
 java.lang.String childOnlyMethod()
          Returns a message identifying the method.
 java.lang.String sayHello()
          Returns a message identifying the method.
 
Methods inherited from class examples.ejb.subclass.ParentBean
ejbActivate, ejbCreate, ejbPassivate, ejbRemove, log, nonOverloadedMethod, setSessionContext
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildBean

public ChildBean()
Method Detail

childOnlyMethod

public java.lang.String childOnlyMethod()
Returns a message identifying the method. This method is unique to the ChildBean.
Returns:
String Message

sayHello

public java.lang.String sayHello()
Returns a message identifying the method. This method is inherited and overloaded by the Child bean.
Overrides:
sayHello in class ParentBean
Returns:
String Message

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

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