org.jboss.cdi.tck.tests.decorators.definition.lifecycle
Class DurableAccount

java.lang.Object
  extended by org.jboss.cdi.tck.tests.decorators.definition.lifecycle.DurableAccount
All Implemented Interfaces:
Serializable, BankAccount

@SessionScoped
public class DurableAccount
extends Object
implements BankAccount, Serializable

See Also:
Serialized Form

Constructor Summary
DurableAccount()
           
 
Method Summary
 void deposit(int amount)
           
 int getBalance()
           
 void withdraw(int amount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DurableAccount

public DurableAccount()
Method Detail

withdraw

public void withdraw(int amount)
Specified by:
withdraw in interface BankAccount

deposit

public void deposit(int amount)
Specified by:
deposit in interface BankAccount

getBalance

public int getBalance()
Specified by:
getBalance in interface BankAccount


Copyright © 2008-2013 Seam Framework. All Rights Reserved.