FileDocCategorySizeDatePackage
AccountWithReadWriteLock.javaAPI DocJBoss 4.2.11957Fri Jul 13 21:02:22 BST 2007test.patterns.readwritelock

AccountWithReadWriteLock

public class AccountWithReadWriteLock extends Account
version
$Revision: 57186 $
author
{Claude Hussenet Independent Consultant}.

Fields Summary
Constructors Summary
public AccountWithReadWriteLock(float balance)

	super(balance);
   
Methods Summary
public voidcredit(float amount)

@org.jboss.aspects.patterns.readwritelock.writeLockOperation

	   super.credit(amount);
   
public voiddebit(float amount)

@org.jboss.aspects.patterns.readwritelock.writeLockOperation

	  super.debit(amount);
   
public floatgetBalance()

@org.jboss.aspects.patterns.readwritelock.readLockOperation

   	return super.getBalance();
   
public java.lang.StringtoString()

@org.jboss.aspects.patterns.readwritelock.readLockOperation

	 return super.toString();