use of com.dianping.cat.servlet.CatListener in project x-pipe by ctripcorp.
the class CatConfig method catListener.
@Bean
public ServletListenerRegistrationBean<CatListener> catListener() {
ServletListenerRegistrationBean<CatListener> bean = new ServletListenerRegistrationBean<CatListener>(new CatListener());
bean.setName("cat-listener");
return bean;
}
Aggregations