}
public void invoke(NotificationContext changeContext) throws Exception {
// This allows the listener to work with one change at a time
synchronized (_connection) {
Type type = changeContext.getType();
if (!_expectTypes.contains(type)) {
logger.warn("Skip processing callbacks for listener: " + _listener + ", path: " + _path
+ ", expected types: " + _expectTypes + " but was " + type);
return;
}