use of com.creditease.monitor.interceptframework.spi.InterceptContext in project uavstack by uavorg.
the class WebServiceListenerIT method obtainWsInfo.
public void obtainWsInfo(Object address, Object impl) {
InterceptContext ic = InterceptSupport.instance().getThreadLocalContext(Event.WEBCONTAINER_STARTED);
@SuppressWarnings("unchecked") List<WebServiceProfileInfo> list = (ArrayList<WebServiceProfileInfo>) ic.get("webservice.profile.info");
if (null == list) {
list = new ArrayList<WebServiceProfileInfo>();
ic.put("webservice.profile.info", list);
}
setWsInfo(list, address, impl);
}
Aggregations