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
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numBeans
static final int numBeans
VERBOSE
static final boolean VERBOSE
BankBean
public BankBean()
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
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.