*/
public Account create_account(String name)
{
AccountImpl acc;
AccountPOA account = null;
if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
{
if (currentNumberOfAccounts < ACCOUNT_SIZE)
{
acc = new AccountImpl(name);
account = new AccountPOATie(acc);