com.atomikos.osgi.sample.internal.impl
Class AccountManagerImpl
java.lang.Object
com.atomikos.osgi.sample.internal.impl.AccountManagerImpl
- All Implemented Interfaces:
- AccountManager
public class AccountManagerImpl
- extends Object
- implements AccountManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountManagerImpl
public AccountManagerImpl()
getBalance
public long getBalance(int accno)
throws Exception
- Specified by:
getBalance
in interface AccountManager
- Throws:
Exception
withdraw
public void withdraw(int accno,
int amount)
throws Exception
- Specified by:
withdraw
in interface AccountManager
- Throws:
Exception
getOwner
public String getOwner(int accno)
throws Exception
- Specified by:
getOwner
in interface AccountManager
- Throws:
Exception
setAccountDao
public void setAccountDao(AccountDao accountDao)
Copyright © 2012. All Rights Reserved.