WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.cluster.ejb.teller
Class TellerBean.Balance

java.lang.Object
  |
  +--examples.cluster.ejb.teller.TellerBean.Transaction
        |
        +--examples.cluster.ejb.teller.TellerBean.Balance
Enclosing class:
TellerBean

class TellerBean.Balance
extends TellerBean.Transaction

Performs a balance lookup.


Fields inherited from class examples.cluster.ejb.teller.TellerBean.Transaction
account1, account1Id, account1PK, account1Result, account2, account2Id, account2PK, account2Result, amount, transactionId, tx
 
Constructor Summary
(package private) TellerBean.Balance(java.lang.String accountId)
          Constructs a Balance.
 
Method Summary
(package private)  void invokeTransaction()
          Finds and calls an account bean to perform a balance lookup.
 
Methods inherited from class examples.cluster.ejb.teller.TellerBean.Transaction
transaction
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TellerBean.Balance

TellerBean.Balance(java.lang.String accountId)
Constructs a Balance.
Method Detail

invokeTransaction

void invokeTransaction()
                 throws AccountException,
                        javax.ejb.FinderException,
                        java.rmi.RemoteException
Finds and calls an account bean to perform a balance lookup. Overshadows Transaction.invokeTransaction().
Overrides:
invokeTransaction in class TellerBean.Transaction
Throws:
AccountException - if there is an error in performing the transaction
javax.ejb.FinderException - if there is an error in finding the EJBean
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.