public static synchronized void addExternalInstanceListener(Consumer<List<String>> consumer) { ourLock.setActivateListener(consumer); }