List handlerInfos = new ArrayList();
for (Iterator iterator = handlerInfoInfos.iterator(); iterator.hasNext();) {
HandlerInfoInfo handlerInfoInfo = (HandlerInfoInfo) iterator.next();
Set portNames = handlerInfoInfo.getPortNames();
if (portNames.isEmpty() || portNames.contains(portName)) {
HandlerInfo handlerInfo = new HandlerInfo(handlerInfoInfo.getHandlerClass(), handlerInfoInfo.getHandlerConfig(), handlerInfoInfo.getSoapHeaders());
handlerInfos.add(handlerInfo);
//TODO what about the soap roles??
}
}