Package net.solosky.maplefetion.util

Examples of net.solosky.maplefetion.util.LocaleSetting


    /**
     * 更新自适应配置
     */
    private void updateSystemConfig() throws LoginException
    {
      LocaleSetting localeSetting = this.context.getLocaleSetting();
      if(!localeSetting.isLoaded()) {
        try {
          logger.debug("Loading locale setting...");
        this.updateLoginState(LoginState.SEETING_LOAD_DOING, null);
        localeSetting.load(this.context.getFetionUser());
        if(!localeSetting.isValid())  //获取配置中如果无效,表明用户输入的账号无效
          throw new LoginException(LoginState.SSI_ACCOUNT_NOT_FOUND);
       
        this.updateLoginState(LoginState.SETTING_LOAD_SUCCESS, null);
      } catch (Exception e) {
        logger.debug("Load localeSetting error", e);
View Full Code Here


      this.store           = fetionStore;
    this.proxyFactory    = new ChatDialogProxyFactory(this);
    this.timer           = fetionTimer;
    this.executor        = fetionExecutor;
    this.notifyEventListener  = notifyEventListener;
    this.localeSetting   = new LocaleSetting();
    }
View Full Code Here

TOP

Related Classes of net.solosky.maplefetion.util.LocaleSetting

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.