}
}
private static List<NameChannel> getNameChannels(KnowledgeComponentImplementationModel model, ClassLoader loader, ServiceDomain domain) {
List<NameChannel> ncList = new ArrayList<NameChannel>();
ChannelsModel channelsModel = model.getChannels();
if (channelsModel != null) {
ComponentModel componentModel = model.getComponent();
QName componentName = componentModel.getQName();
String componentTNS = componentModel.getTargetNamespace();
for (ChannelModel channelModel : channelsModel.getChannels()) {
@SuppressWarnings("unchecked")
Class<? extends Channel> channelClass = (Class<? extends Channel>)channelModel.getClazz(loader);
if (channelClass == null) {
channelClass = SwitchYardServiceChannel.class;
}