private void configureThread(final ExportThread thread) { thread.setCommandService(getCommandService()); thread.setCache(getCache()); thread.setDao(getDao()); thread.setAttachmentDao(getDaoFactory().getDAO(Attachment.class)); thread.setHuiTypeFactory(getHuiTypeFactory()); thread.setSourceId(sourceId); thread.setVeriniceArchive(isVeriniceArchive()); thread.setReImport(isReImport()); thread.setEntityTypesBlackList(getEntityTypesBlackList()); thread.setEntityClassBlackList(getEntityClassBlackList()); }