All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ars.spring.context.HttpApplicationConfiguration Maven / Gradle / Ivy

The newest version!
package ars.spring.context;

import org.apache.http.conn.ClientConnectionManager;
import org.springframework.context.event.ContextClosedEvent;
import org.springframework.context.event.ContextRefreshedEvent;

import ars.invoke.channel.http.Https;

/**
 * Http调用应用配置
 *
 * @author wuyongqiang
 */
public class HttpApplicationConfiguration extends ApplicationListener {

    public void setManager(ClientConnectionManager manager) {
        Https.setManager(manager);
    }

    @Override
    protected void initialize(ContextRefreshedEvent event) {

    }

    @Override
    protected void destroy(ContextClosedEvent event) {
        Https.destroy();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy