Package com.jpoweredcart.common.system

Examples of com.jpoweredcart.common.system.UserDataInterceptor


  @Inject
  private CurrencyService currencyService;
 
  @Override
  protected void addInterceptors(InterceptorRegistry registry) {
    UserDataInterceptor userDataInterceptor = new UserDataInterceptor();
    userDataInterceptor.setJdbcOperations(jdbcOperations);
    userDataInterceptor.setSettingService(settingService);
    userDataInterceptor.setLanguageService(languageService);
    userDataInterceptor.setStoreResolver(storeResolver);
    userDataInterceptor.setCurrencyService(currencyService);
    userDataInterceptor.setLanguageParam(env.getProperty("language.param", "language_code"));
    userDataInterceptor.setCurrencyParam(env.getProperty("currency.param", "currency_code"));
   
    registry.addInterceptor(userDataInterceptor);
  }
View Full Code Here

TOP

Related Classes of com.jpoweredcart.common.system.UserDataInterceptor

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.