public void fullImport(File importFile, IApimanLogger logger) throws IOException {
        eventService.lock();
        try {
            eventService.deactivate();
            LOGGER.debug("Acquired exclusive lock on EventService and have deactivated event dispatch (all events will be dropped)");
            doImport(importFile, logger);
        } finally {
            eventService.activate();
            eventService.unlock();
            LOGGER.debug("Unlocked EventService and re-enabled event dispatch (events will now be sent)");
        }
    }
@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/rest-impl/src/main/java/io/apiman/manager/api/service/ImportExportService.java