All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class bank.server.CorbaBankApplicationManagerS

java.lang.Object
   |
   +----bank.server.CorbaBankApplicationManagerS

public class CorbaBankApplicationManagerS
extends Object
implements CorbaBankApplicationManagerInterfaceOperations
銀行アプリケーションマネージャのCORBAによる実装版 実際の処理はbank.manager.BankApplicationManagerに委譲される #pattern: Facade #pattren: Wrapper

See Also:
CorbaBankApplicationManagerC, BankApplicationManager

Variable Index

 o realMgr

Constructor Index

 o CorbaBankApplicationManagerS()
BankApplicationManager constructor comment.

Method Index

 o beLogOn(boolean)
 o checkBalanceAccount(int)
 o depositAccount(int, int)
 o getDefault()
#pattern: Singleton
 o verifyAccount(int)
 o withdrawAccount(int, int)

Variables

 o realMgr
 protected BankApplicationManager realMgr

Constructors

 o CorbaBankApplicationManagerS
 public CorbaBankApplicationManagerS()
BankApplicationManager constructor comment.

Methods

 o beLogOn
 public void beLogOn(boolean trueOrFalse)
 o checkBalanceAccount
 public int checkBalanceAccount(int accountNumber) throws AccountNotFoundException
Parameters:
accountNumber - int
Returns:
int
 o depositAccount
 public int depositAccount(int accountNumber,
                           int amount) throws AccountNotFoundException
Parameters:
accountNo - int
amount - int
Returns:
int
 o getDefault
 public static CorbaBankApplicationManagerS getDefault()
#pattern: Singleton

 o verifyAccount
 public boolean verifyAccount(int accountNum)
Parameters:
accountNum - int
Returns:
Account
 o withdrawAccount
 public int withdrawAccount(int accountNumber,
                            int amount) throws AccountNotFoundException
Parameters:
accountNumber - int
amount - int
Returns:
int

All Packages  Class Hierarchy  This Package  Previous  Next  Index