public synchronized void setServiceAddedNotificationsOn(boolean b) {
		notifyAdd = b;
		if (notifyAdd) {
			Iterator<Object[]> it = notifications.iterator();
			while (it.hasNext()) {
				Object[] arr = it.next();
				notifyServiceAdded((Class<?>) arr[0], arr[1]);
				it.remove();
			}
		}
	}
Set the indicator for whether service listeners should be notified.
While plugins are being restored from a tool state, this indicator
is false, as a plugin may not be in the proper state to handle the
notification.
@param b true means to notify listeners of the services added to
the tool
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/mgr/ServiceManager.java