FileDocCategorySizeDatePackage
AccountManagerReg.javaAPI DocExample795Wed Apr 05 11:25:42 BST 2000None

AccountManagerReg

public class AccountManagerReg extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    try {
      AccountManager mgr = new AccountManagerImpl();
      Account one = new AccountImpl("Fred");
      mgr.newAccount(one);
      Account two = new AccountImpl("Wilma");
      mgr.newAccount(two);
      Naming.rebind("acctManager", mgr);
    }
    catch (Exception e) {}