class BoltSwaggerServiceApplicationListener implements
                                                  ApplicationListener<ApplicationStartedEvent> {

    private final ClientFactory clientFactory;

    public BoltSwaggerServiceApplicationListener(SofaRuntimeManager sofaRuntimeManager) {
        this.clientFactory = sofaRuntimeManager.getClientFactoryInternal();
    }

    @Override
    public void onApplicationEvent(ApplicationStartedEvent applicationStartedEvent) {<FILL_FUNCTION_BODY>}
}

        List<BindingParam> bindingParams = new ArrayList<>();
        bindingParams.add(new RestBindingParam());

        ServiceParam serviceParam = new ServiceParam();
        serviceParam.setInterfaceType(SwaggerRestService.class);
        serviceParam.setInstance(new SwaggerRestServiceImpl());
        serviceParam.setBindingParams(bindingParams);

        ServiceClient serviceClient = clientFactory.getClient(ServiceClient.class);
        serviceClient.service(serviceParam);

    
<no_super_class>