this.logger.warn("Failed to find PortletRequest attribute '" + this.listenerKeyAttribute + "'");
return;
}
final AdministrativeRequestListener administrativeRequestListener = this.listeners.get(listenerKey);
if (this.logger.isDebugEnabled()) {
this.logger.debug("Found AdministrativeRequestListener '" + administrativeRequestListener + "' for key '" + listenerKey + "'");
}
if (administrativeRequestListener == null) {
if (this.failOnListenerNotFound) {
this.logger.error("Failed to find AdministrativeRequestListener for key '" + listenerKey + "'");
throw new IllegalArgumentException("Failed to find AdministrativeRequestListener for key '" + listenerKey + "'");
}
this.logger.warn("Failed to find AdministrativeRequestListener for key '" + listenerKey + "'");
return;
}
administrativeRequestListener.administer(request, response);
}