class AutoConfigurationSolon {
    @Bean
    public BeanPostProcessor beanPostProcessor() {
        return new BeanPostProcessorSolon();
    }

    @Bean
    @ConditionalOnWebApplication
    public FilterRegistrationBean servletRegistrationBean() {<FILL_FUNCTION_BODY>}
}

        //如果是WEB，注册一个信号
        Signal signal = new SignalSim(Solon.cfg().appName(), Solon.cfg().serverHost(), Solon.cfg().serverPort(), "http", SignalType.HTTP);
        Solon.app().signalAdd(signal);
        EventBus.publish(signal);


        //添加过滤器注册
        FilterRegistrationBean registration = new FilterRegistrationBean<>();
        registration.setFilter(new SolonServletFilter());
        return registration;
    
<no_super_class>