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

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

@RequestScoped
public class ShortTermAccount
extends Object
implements BankAccount


Constructor Summary
ShortTermAccount()
           
 
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

ShortTermAccount

public ShortTermAccount()
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-2012 Seam Framework. All Rights Reserved.