WebLogic Server 6.1 Code Examples, BEA Systems, Inc.

examples.ejb20.cascadeDelete.one2many
Class BankBean

java.lang.Object
  |
  +--examples.ejb20.cascadeDelete.one2many.BankBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class BankBean
extends java.lang.Object
implements javax.ejb.SessionBean


Field Summary
(package private) static int numBeans
           
(package private) static boolean VERBOSE
           
 
Constructor Summary
BankBean()
           
 
Method Summary
 void cleanup()
           
 void createAccountAndCustomer()
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void establishRelationship()
           
 void printAccounts()
           
 void printCustomers()
           
 void removeCustomer_CascadeDeleteAccounts(int i)
           
 void setSessionContext(javax.ejb.SessionContext c)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numBeans

static final int numBeans

VERBOSE

static final boolean VERBOSE
Constructor Detail

BankBean

public BankBean()
Method Detail

cleanup

public void cleanup()
             throws java.rmi.RemoteException

createAccountAndCustomer

public void createAccountAndCustomer()
                              throws java.rmi.RemoteException

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

establishRelationship

public void establishRelationship()
                           throws java.rmi.RemoteException

printAccounts

public void printAccounts()
                   throws java.rmi.RemoteException

printCustomers

public void printCustomers()
                    throws java.rmi.RemoteException

removeCustomer_CascadeDeleteAccounts

public void removeCustomer_CascadeDeleteAccounts(int i)
                                          throws java.rmi.RemoteException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext c)
Specified by:
setSessionContext in interface javax.ejb.SessionBean

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

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