|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object
|
+--examples.cluster.ejb.Client.Transaction
|
+--examples.cluster.ejb.Client.Withdrawal
Performs a withdrawal.
| Fields inherited from class examples.cluster.ejb.Client.Transaction |
account1Balance, account1Id, account1Message, account1Server, account2Balance, account2Id, account2Message, account2Server, actionMessage, amount, result, tellerMessage, tellerServer, transId |
| Constructor Summary | |
(package private) |
Client.Withdrawal(java.lang.String accountId,
double amount)
Constructs a Withdrawal. |
| Method Summary | |
(package private) void |
buildReport()
Builds a report of the result of a transaction. |
(package private) void |
invokeTransaction()
Calls a TellerBean to perform a withdrawal. |
| Methods inherited from class examples.cluster.ejb.Client.Transaction |
getTransactionID, printReport, transaction |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
Client.Withdrawal(java.lang.String accountId,
double amount)
throws TellerException,
java.rmi.RemoteException,
javax.ejb.CreateException
accountId - string account IDamount - double amountTellerException - if there is
an error in performing the transactionjava.rmi.RemoteException - if there is
a communications or systems failurejavax.ejb.CreateException - if there is
a problem creating a teller| Method Detail |
void buildReport()
buildReport in class Client.Transaction
void invokeTransaction()
throws TellerException,
java.rmi.RemoteException
invokeTransaction in class Client.TransactionTellerException - if there is
an error in performing the transactionjava.rmi.RemoteException - if there is
a communications or systems failure
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||