class SofaBootRpcStartListener implements ApplicationListener<SofaBootRpcStartEvent> {

    protected final ProviderConfigContainer    providerConfigContainer;

    protected final FaultToleranceConfigurator faultToleranceConfigurator;

    protected final ServerConfigContainer      serverConfigContainer;

    protected final RegistryConfigContainer    registryConfigContainer;

    private String                             lookoutCollectDisable;

    public SofaBootRpcStartListener(ProviderConfigContainer providerConfigContainer,
                                    FaultToleranceConfigurator faultToleranceConfigurator,
                                    ServerConfigContainer serverConfigContainer,
                                    RegistryConfigContainer registryConfigContainer) {
        this.providerConfigContainer = providerConfigContainer;
        this.faultToleranceConfigurator = faultToleranceConfigurator;
        this.serverConfigContainer = serverConfigContainer;
        this.registryConfigContainer = registryConfigContainer;
    }

    @Override
    public void onApplicationEvent(SofaBootRpcStartEvent event) {<FILL_FUNCTION_BODY>}

    protected void processExtra(SofaBootRpcStartEvent event) {

    }

    protected void disableLookout() {
        Boolean disable = SofaBootRpcParserUtil.parseBoolean(lookoutCollectDisable);

        if (disable != null) {
            LookoutSubscriber.setLookoutCollectDisable(disable);
        }
    }

    public void setLookoutCollectDisable(String lookoutCollectDisable) {
        this.lookoutCollectDisable = lookoutCollectDisable;
    }
}

        //choose disable metrics lookout
        disableLookout();

        //extra info
        processExtra(event);

        //start fault tolerance
        if (faultToleranceConfigurator != null) {
            faultToleranceConfigurator.startFaultTolerance();
        }

        Collection<ProviderConfig> allProviderConfig = providerConfigContainer
            .getAllProviderConfig();
        if (!CollectionUtils.isEmpty(allProviderConfig)) {
            //start server
            serverConfigContainer.startServers();
        }

        //set allow all publish
        providerConfigContainer.setAllowPublish(true);

        //register registry
        providerConfigContainer.publishAllProviderConfig();

        //export dubbo
        providerConfigContainer.exportAllDubboProvideConfig();
    
<no_super_class>