/** * @param noEmailExceptions the noEmailExceptions to set */ public void setNoEmailExceptions(final List<String> noEmailExceptions) { for (String className : noEmailExceptions) { addNoEmailException(className); } }
@Override public ExceptionService getExceptionService() { return new EmailExceptionServiceImpl( getI18nService(), getApplicationService(), getExceptionViews(), getNoEmailExceptions(), getAuthenticationService(), smtpService, recipientEmail, doNotSendExceptionReportsToDevelopers, getDevelEmail(), getLogLevel()); }
@Override public void afterPropertiesSet() { super.afterPropertiesSet(); if (!StringUtils.hasText(cacheName)) { setDefaultCacheName(); logger.info(getClass() + ": no cacheName attribute set, '" + cacheName + "' will be used"); } Assert.notNull(cacheManager, "property cacheManager of class " + getClass().getName() + " can not be null"); if (!cacheManager.cacheExists(cacheName)) { cacheManager.addCache(cacheName); } cache = cacheManager.getCache(cacheName); }