public void setDAO(
                    final Collection<? extends DAO<?, ?>> dao_list
                                    )
    {
        if (dao_list == null) {
            return;
        }

        for (DAO<?, ?> dao : dao_list) {
            if (dao == null) {
                continue;
            }

            Class<?>  entityClass = dao.getEntityClass();
            _LOG_.debug( "adding DAO: " + entityClass );
            _daoMap.put( entityClass, dao );

            if (dao instanceof BaseDAO) {
                BaseDAO.class.cast( dao ).setDAORegistry( this );
            }
        }
    }
public void setDAO ( final Collection < ? extends DAO < ? , ? > > dao_list ) { if ( dao_list == null ) { return ; } for ( DAO < ? , ? > dao : dao_list ) { if ( dao == null ) { continue ; } Class < ? > entityClass = dao . getEntityClass ( ) ; _LOG_ . debug ( "adding DAO: " + entityClass ) ; _daoMap . put ( entityClass , dao ) ; if ( dao instanceof BaseDAO ) { BaseDAO . class . cast ( dao ) . setDAORegistry ( this ) ; } } }
DAO list injection point.