/** @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() */ public void afterPropertiesSet() { Assert.hasText( casValidateUrl, "property [casValidateUrl] of class [" + getClass() + "] can not be null"); Assert.hasText(service, "property [service] of class [" + getClass() + "] can not be null"); Assert.hasText( proxyCallbackUrl, "property [proxyCallbackUrl] of class [" + getClass() + "] can not be null"); if (retries == null || retries < 0) { retries = 0; } if (sleep == null || sleep < 0) { sleep = 1; } }
/** @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() */ public void afterPropertiesSet() { Assert.notNull( authenticationService, "property authenticationService of class " + this.getClass().getName() + " can not be null"); }
@Override public void afterPropertiesSet() throws Exception { Assert.notNull( configLocations, "property configLocations of class " + this.getClass().getName() + " can not be null"); init(); }
/** @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() */ @Override public final void afterPropertiesSet() { super.afterPropertiesSet(); Assert.notNull( this.domainService, "property domainService of class " + this.getClass().getName() + " can not be null"); afterPropertiesSetInternal(); reset(); }
/** @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() */ public void afterPropertiesSet() { if (CollectionUtils.isEmpty(servers)) { logger.info( getClass() + ": no SMTP server set, '" + SmtpServer.DEFAULT_HOST + ":" + SmtpServer.DEFAULT_PORT + "' will be used"); SmtpServer server = new SmtpServer(); server.setDefaultHost(); server.setDefaultPort(); if (this.servers == null) { this.servers = new Vector<SmtpServer>(); } this.servers.add(server); } Assert.notNull( this.fromAddress, "property fromAddress of class " + this.getClass().getName() + " can not be null"); if (!StringUtils.hasText(charset)) { logger.info(getClass() + ": no encoding charset set, '" + DEFAULT_CHARSET + "' will be used"); setDefaultCharset(); } if (testAddress == null) { logger.info(getClass() + ": no testAddress attribute set, target ldap-smtp will not work."); } Assert.notNull( this.interceptAll, "property interceptAll of class " + this.getClass().getName() + " can not be null"); if (interceptAll) { Assert.notNull( this.interceptAddress, "property interceptAddress of class " + this.getClass().getName() + " can not be null when interceptAll is true"); } if (notInterceptedAddresses == null) { notInterceptedAddresses = new ArrayList<String>(); } }
/** @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet() */ @Override public void afterPropertiesSet() { Assert.notNull( domainService, "property domainService of class " + this.getClass().getName() + " can not be null"); }