Package org.hdiv.dataComposer

Examples of org.hdiv.dataComposer.DataComposerFactory


    return new AppStateScope();
  }

  @Bean
  public DataComposerFactory dataComposerFactory() {
    DataComposerFactory dataComposerFactory = new DataComposerFactory();
    dataComposerFactory.setConfig(hdivConfig());
    dataComposerFactory.setSession(securitySession());
    dataComposerFactory.setEncodingUtil(encodingUtil());
    dataComposerFactory.setStateUtil(stateUtil());
    dataComposerFactory.setUidGenerator(uidGenerator());
    dataComposerFactory.setStateScopeManager(stateScopeManager());
    return dataComposerFactory;
  }
View Full Code Here


    this.hdivParameter = this.getConfig().getStateParameterName();
    this.helper = this.getApplicationContext().getBean(IValidationHelper.class);
    this.confidentiality = this.getConfig().getConfidentiality();

    DataComposerFactory dataComposerFactory = (DataComposerFactory) this.getApplicationContext().getBean(
        "dataComposerFactory");
    HttpServletRequest request = HDIVUtil.getHttpServletRequest();
    this.dataComposer = dataComposerFactory.newInstance(request);
    HDIVUtil.setDataComposer(dataComposer, request);
    this.dataComposer.startPage();
  }
View Full Code Here

  @Override
  protected void innerSetUp() throws Exception {

    this.hdivParameter = this.getConfig().getStateParameterName();

    DataComposerFactory dataComposerFactory = this.getApplicationContext().getBean(DataComposerFactory.class);
    HttpServletRequest request = HDIVUtil.getHttpServletRequest();
    this.dataComposer = dataComposerFactory.newInstance(request);
    HDIVUtil.setDataComposer(this.dataComposer, request);

  }
View Full Code Here

    initListener.sessionCreated(httpSessionEvent);

    // Init Request scoped data
    RequestInitializer requestInitializer = this.applicationContext.getBean(RequestInitializer.class);
    requestInitializer.initRequest(request, response);
    DataComposerFactory dataComposerFactory = (DataComposerFactory) this.applicationContext
        .getBean(DataComposerFactory.class);
    IDataComposer dataComposer = dataComposerFactory.newInstance(request);
    HDIVUtil.setDataComposer(dataComposer, request);

    if (log.isDebugEnabled()) {
      log.debug("Hdiv test context initialized");
    }
View Full Code Here

  protected void onSetUp() throws Exception {

    this.hdivParameter = this.getConfig().getStateParameterName();
    this.helper = (IValidationHelper) this.getApplicationContext().getBean(IValidationHelper.class);

    DataComposerFactory dataComposerFactory = (DataComposerFactory) this.getApplicationContext().getBean(
        "dataComposerFactory");
    HttpServletRequest request = HDIVUtil.getHttpServletRequest();
    this.dataComposer = dataComposerFactory.newInstance(request);
    this.dataComposer.startPage();
  }
View Full Code Here

TOP

Related Classes of org.hdiv.dataComposer.DataComposerFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.