com.jenkov.mrpersister.impl.command
Class Daos

java.lang.Object
  extended by com.jenkov.mrpersister.impl.command.Daos
All Implemented Interfaces:
IDaos

public class Daos
extends java.lang.Object
implements IDaos

Author:
Jakob Jenkov - Copyright 2005 Jenkov Development

Field Summary
protected  IPersistenceConfiguration configuration
           
protected  java.sql.Connection connection
           
protected  IGenericDao genericDao
           
protected  IJdbcDao jdbcDao
           
protected  IMapDao mapDao
           
protected  PersistenceManager persistenceManager
           
 
Constructor Summary
Daos(java.sql.Connection connection, IPersistenceConfiguration configuration, PersistenceManager manager)
           
 
Method Summary
 IPersistenceConfiguration getConfiguration()
           
 java.sql.Connection getConnection()
           
 IGenericDao getGenericDao()
           
 IJdbcDao getJdbcDao()
           
 IMapDao getMapDao()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistenceManager

protected PersistenceManager persistenceManager

connection

protected java.sql.Connection connection

configuration

protected IPersistenceConfiguration configuration

genericDao

protected IGenericDao genericDao

jdbcDao

protected IJdbcDao jdbcDao

mapDao

protected IMapDao mapDao
Constructor Detail

Daos

public Daos(java.sql.Connection connection,
            IPersistenceConfiguration configuration,
            PersistenceManager manager)
Method Detail

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface IDaos

getConfiguration

public IPersistenceConfiguration getConfiguration()
Specified by:
getConfiguration in interface IDaos

getGenericDao

public IGenericDao getGenericDao()
Specified by:
getGenericDao in interface IDaos

getJdbcDao

public IJdbcDao getJdbcDao()
Specified by:
getJdbcDao in interface IDaos

getMapDao

public IMapDao getMapDao()
Specified by:
getMapDao in interface IDaos