package com.apobates.forum.thrones.admin;

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

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