code: public <K, T extends Persistable<K>> CastorDao<K, T> getDao(
                      final Class<T> type
                      )
      {
          if (type == null) {
              throw new IllegalArgumentException( "null type" );
          }
  
          @SuppressWarnings( "unchecked" )
          CastorDao<K, T>  dao = (CastorDao<K, T>)_daoMapping.get( type );
  
          if (dao == null) {
              dao = _createDao( type );
              _daoMapping.put( type, dao );
          }
  
          return dao;
      }
docs: **************************************************************