package com.apobates.forum.thrones;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 设置应用的ID
 * 
 * @author xiaofanku
 * @since 20200625
 */
public class ThronesAppContextInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext>{
    
    @Override
    public void initialize(ConfigurableApplicationContext c) {
        c.setId("thrones front");
    }
}