Search in sources :

Example 1 with AppConfig

use of com.example.simple_chat.config.AppConfig in project ezyfox-server-example by tvd12.

the class AppEntry method setupBeanContext.

@Override
protected void setupBeanContext(EzyAppContext context, EzyBeanContextBuilder builder) {
    EzyAppSetting setting = context.getApp().getSetting();
    String appConfigFile = getConfigFile(setting);
    AppConfig appConfig = readAppConfig(appConfigFile);
    logger.info("hello-word app config: {}", appConfig);
}
Also used : EzyAppSetting(com.tvd12.ezyfoxserver.setting.EzyAppSetting) AppConfig(com.example.simple_chat.config.AppConfig)

Aggregations

AppConfig (com.example.simple_chat.config.AppConfig)1 EzyAppSetting (com.tvd12.ezyfoxserver.setting.EzyAppSetting)1