package io.jboot.test.app;

import com.jfinal.config.Constants;
import com.jfinal.config.Interceptors;
import com.jfinal.config.Routes;
import com.jfinal.template.Engine;
import io.jboot.aop.jfinal.JfinalHandlers;
import io.jboot.aop.jfinal.JfinalPlugins;
import io.jboot.core.listener.JbootAppListener;
import io.jboot.web.fixedinterceptor.FixedInterceptors;

public class TestAppListener implements JbootAppListener {
    @Override
    public void onInit() {
        System.out.println("TestAppListener.onInit");
    }

    @Override
    public void onConstantConfig(Constants constants) {
        System.out.println("TestAppListener.onConstantConfig");
    }

    @Override
    public void onRouteConfig(Routes routes) {
        System.out.println("TestAppListener.onRouteConfig");
    }

    @Override
    public void onEngineConfig(Engine engine) {
        System.out.println("TestAppListener.onEngineConfig");
    }

    @Override
    public void onPluginConfig(JfinalPlugins plugins) {
        System.out.println("TestAppListener.onPluginConfig");
    }

    @Override
    public void onInterceptorConfig(Interceptors interceptors) {
        System.out.println("TestAppListener.onInterceptorConfig");
    }

    @Override
    public void onFixedInterceptorConfig(FixedInterceptors fixedInterceptors) {
        System.out.println("TestAppListener.onFixedInterceptorConfig");
    }

    @Override
    public void onHandlerConfig(JfinalHandlers handlers) {
        System.out.println("TestAppListener.onHandlerConfig");
    }

    @Override
    public void onStartBefore() {
        System.out.println("TestAppListener.onStartBefore");
    }

    @Override
    public void onStart() {
        System.out.println("TestAppListener.onStart");
    }

    @Override
    public void onStop() {
        System.out.println("TestAppListener.onStop");
    }
}

@@ -1736,32 +1736,148 @@
 Start%22);%0A    %7D%0A%0A
+    @Override%0A    public void onStartFinish() %7B%0A        System.out.println(%22TestAppListener.onStartFinish%22);%0A    %7D%0A%0A
     @Override%0A  

add onStartFinish() method in JbootAppListener.class