org.jboss.cdi.tck.tests.event.observer.transactional
Class AccountService

java.lang.Object
  extended by org.jboss.cdi.tck.tests.event.observer.transactional.AccountService

@Named
public class AccountService
extends Object


Constructor Summary
AccountService()
           
 
Method Summary
 long withdrawFailedTransaction(int amount)
           
 long withdrawNoTransaction(int amount)
           
 long withdrawSuccesTransaction(int amount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountService

public AccountService()
Method Detail

withdrawSuccesTransaction

public long withdrawSuccesTransaction(int amount)
                               throws Exception
Parameters:
amount -
Throws:
Exception

withdrawFailedTransaction

public long withdrawFailedTransaction(int amount)
                               throws Exception
Parameters:
amount -
Throws:
Exception

withdrawNoTransaction

public long withdrawNoTransaction(int amount)
                           throws Exception
Parameters:
amount -
Throws:
Exception


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