Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atomikos.osgi.sample.internal.dao.jdbc
Class AccountDaoImpl

    java.lang.Object
      com.atomikos.osgi.sample.internal.dao.jdbc.AccountDaoImpl

All Implemented Interfaces:
  AccountDao

    public class AccountDaoImpl

extends Object
implements AccountDao

Constructor Summary
`AccountDaoImpl()`

Method Summary
`long` | `getBalance(int accno)`
`DataSource` | `getDataSource()`
`String` | `getOwner(int accno)`
`void` | `setDataSource(DataSource dataSource)`
`void` | `withdraw(int accno, int amount)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AccountDaoImpl

    public AccountDaoImpl()

Method Detail

### getBalance

    public long getBalance(int accno)
                    throws Exception

  Specified by:
    `getBalance` in interface `AccountDao`
  Throws:
    `Exception`

### setDataSource

    public void setDataSource(DataSource dataSource)

### getDataSource

    public DataSource getDataSource()

### getOwner

    public String getOwner(int accno)
                    throws Exception

  Specified by:
    `getOwner` in interface `AccountDao`
  Throws:
    `Exception`

### withdraw

    public void withdraw(int accno,
                         int amount)
                  throws Exception

  Specified by:
    `withdraw` in interface `AccountDao`
  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.