public SEIFactory createSEIFactory(QName serviceName, String portName, Class enhancedServiceEndpointClass, Object serviceImpl, List typeInfo, URL location, OperationInfo[] operationInfos, List handlerInfoInfos, String credentialsName, DeploymentContext deploymentContext, ClassLoader classLoader) throws DeploymentException {
List handlerInfos = buildHandlerInfosForPort(portName, handlerInfoInfos);
try {
SEIFactory factory = new SEIFactoryImpl(serviceName, portName, enhancedServiceEndpointClass, operationInfos, serviceImpl, typeInfo, location, handlerInfos, classLoader, credentialsName);
return factory;
} catch (ClassNotFoundException e) {
throw new DeploymentException("Could not load GenericServiceEndpoint from application classloader", e);
}
}