ArrayList<Handler> handlers = new ArrayList<Handler>();
// Create temporary MessageContext to pass information to HandlerLifecycleManager
MessageContext ctx = new MessageContext();
ctx.setEndpointDescription(serviceDesc.getEndpointDescription(portInfo.getPortName()));
HandlerLifecycleManager hlm = createHandlerlifecycleManager();
for (Iterator<Class> iterator = handlerClasses.iterator(); iterator.hasNext();) {
Class aClass = iterator.next();
// instantiate portHandler class
try {
handlers.add(hlm.createHandlerInstance(ctx, aClass));
} catch (Exception e) {
// TODO: should we just ignore this problem?
throw ExceptionFactory.makeWebServiceException(e);
}
if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) {