uk.ac.soton.itinnovation.grid.service.account
Class ApproveManually

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.account.ApproveManually
All Implemented Interfaces:
NewAccountChecker

public class ApproveManually
extends Object
implements NewAccountChecker

Does nothing. You'll have to call approveCredit manually if you use this checker.


Constructor Summary
ApproveManually()
           
 
Method Summary
 BigDecimal checkNewAccount(Account account)
          Account 'account' has just been created by a client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApproveManually

public ApproveManually()
Method Detail

checkNewAccount

public BigDecimal checkNewAccount(Account account)
                           throws GridFailureException
Description copied from interface: NewAccountChecker
Account 'account' has just been created by a client. Begin the approval process. This process will call either approveAccount or denyAccount at some point in the future. This call may return before the account has been approved or rejected.

Specified by:
checkNewAccount in interface NewAccountChecker
Returns:
initial credit limit, or null to leave in pending state
Throws:
GridFailureException - to deny the account TODO: this isn't a good interface.


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.