public void addDao(BaseDaoImpl<?, ?> dao) {
			// if the array is full we double its size
			if (daoArrayC == daoArray.length) {
				BaseDaoImpl<?, ?>[] newDaoArray = new BaseDaoImpl<?, ?>[daoArray.length * 2];
				// NOTE: Arrays.copyof is only for Java 1.6
				for (int i = 0; i < daoArray.length; i++) {
					newDaoArray[i] = daoArray[i];
					daoArray[i] = null;
				}
				daoArray = newDaoArray;
			}
			daoArray[daoArrayC++] = dao;
		}