org.esupportail.commons.utils.Assert.notNull()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(7.0k)|赞(0)|评价(0)|浏览(157)

本文整理了Java中org.esupportail.commons.utils.Assert.notNull()方法的一些代码示例,展示了Assert.notNull()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Assert.notNull()方法的具体详情如下:
包路径:org.esupportail.commons.utils.Assert
类名称:Assert
方法名:notNull

Assert.notNull介绍

暂无

代码示例

代码示例来源:origin: org.esupportail/example-web-jsf-shared

/**
 * @see org.esupportail.example.web.controllers.AbstractDomainAwareBean#afterPropertiesSetInternal()
 */
@Override
public void afterPropertiesSetInternal() {
  Assert.notNull(this.sessionController, "property sessionController of class " 
      + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/ects-web-jsf-shared

/**
 * @see org.esupportail.ects.web.controllers.AbstractDomainAwareBean#afterPropertiesSetInternal()
 */
@Override
public void afterPropertiesSetInternal() {
  Assert.notNull(this.exceptionController, "property exceptionController of class " 
      + this.getClass().getName() + " can not be null");
  Assert.notNull(this.authenticator, "property authenticator of class " 
      + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/esup-commons2-web

@Override
  public void afterPropertiesSet() {
    Assert.notNull(applicationService, "property applicationService of class "
        + this.getClass().getName()
        + " can not be null.");
    //TODO CL V2 : Use Authentication is core module
//        Assert.notNull(authenticationService, "property authenticationService of class "
//                + this.getClass().getName()
//                + " can not be null.");
  }

代码示例来源:origin: org.esupportail/example-domain-services

/**
 * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
 */
public void afterPropertiesSet() {
  Assert.notNull(authenticationService,
      "property authenticationService of class "
          + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/esup-ecm-dashboard-domain-services

@Override
public void afterPropertiesSet() throws Exception {
  Assert.notNull(authenticationService, "property authenticationService of class "
      + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/esup-commons2-dao

@Override
public void afterPropertiesSet() {
  Assert.notNull(this.domainService,
      "property domainService of class " + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/esup-commons2-hibernate

@Override
public void afterPropertiesSet() {
  Assert.notNull(databaseManagers,
      "property [databaseManagers] of class ["
      + getClass().getName() + "] can not be null");
}

代码示例来源:origin: org.esupportail/example-web-jsf-shared

/**
 * @see org.esupportail.example.web.controllers.AbstractDomainAwareBean#afterPropertiesSetInternal()
 */
@Override
public void afterPropertiesSetInternal() {
  Assert.notNull(this.exceptionController, "property exceptionController of class " 
      + this.getClass().getName() + " can not be null");
  Assert.notNull(this.authenticator, "property authenticator of class " 
      + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/esup-commons2-hibernate

@Override
public void initDao() {
  Assert.notNull(hibernateTemplate,
      "property hibernateTemplate of class " + getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/ects-web-jsf-shared

/**
 * @see org.esupportail.ects.web.controllers.AbstractDomainAwareBean#afterPropertiesSetInternal()
 */
@Override
public void afterPropertiesSetInternal() {
  Assert.notNull(this.sessionController, "property sessionController of class " 
      + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/ects-domain-services

/**
 * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
 */
public void afterPropertiesSet() {
  Assert.notNull(authenticationService,
      "property authenticationService of class "
          + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/esup-commons2-hibernate

@Override
public void afterPropertiesSet() {
  Assert.notNull(this.daoService,
      "property daoService of class " + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/esup-commons2-web

@Override
public void afterPropertiesSet() {
  Assert.notNull(this.i18nService,
      "property i18nService of class " + this.getClass().getName()
      + " can not be null");
  if (timezone == null) {
    timezone = TimeZone.getDefault().getDisplayName();
  }
}

代码示例来源:origin: org.esupportail/esup-opi-web-beans

/** 
 * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
 */
@Override
public void afterPropertiesSet() throws Exception {
  Assert.notNull(this.parameterService, "property parameterService of class " 
      + this.getClass().getName() + " can not be null");
  Assert.notNull(this.domainService, "property domainService of class " 
      + this.getClass().getName() + " can not be null");
  Assert.notNull(this.i18Service, "property i18Service of class " 
      + this.getClass().getName() + " can not be null");
  reset();
}

代码示例来源:origin: org.esupportail/esup-commons2-web

@Override
public void afterPropertiesSet() {
  super.afterPropertiesSet();
  Assert.notNull(this.applicationService,
      "property applicationService of class " + this.getClass().getName()
      + " can not be null");
}

代码示例来源:origin: org.esupportail/example-domain-services

/**
 * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
 */
@Override
public void afterPropertiesSet() throws Exception {
  logger.debug("in afterPropertiesSet");
  Assert.notNull(this.daoService, 
      "property daoService of class " + this.getClass().getName() + " can not be null");
}

代码示例来源:origin: org.esupportail/example-domain-services

@Override
public void afterPropertiesSet() {
  super.afterPropertiesSet();
  Assert.notNull(this.domainService, 
      "property domainService of class " + this.getClass().getName() 
      + " can not be null");
}

代码示例来源:origin: org.esupportail/example-web-jsf-shared

/**
 * @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();
}

代码示例来源:origin: org.esupportail/ects-web-jsf-shared

/**
 * @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();
}

代码示例来源:origin: org.esupportail/esup-opi-web-beans

/**
 * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
 */
@Override
public void afterPropertiesSet() throws Exception {
  Assert.notNull(this.getI18nService(), "property i18nService of class " 
      + this.getClass().getName() + " can not be null");
  Assert.notNull(this.getControlField(), "property controlField of class " 
      + this.getClass().getName() + " can not be null");
  setLabel(getI18nService().getString(I18N_FORMATION_CONTINUE_LAB));
  setShortLabel(getI18nService().getString(I18N_FORMATION_CONTINUE_SHORT_LAB));
}

相关文章