}
registerService(
Class.forName(ObjectUtils.extractRawClassName(nextPair.getKey())),
delegate);
} catch (ClassNotFoundException ex) {
throw new DescriptorException(ex);
} catch (InstantiationException ex) {
throw new DescriptorException(ex);
} catch (IllegalAccessException ex) {
throw new DescriptorException(ex);
}
}
serviceDelegateClassNames = null;
}
if (serviceDelegateBeanNames != null && beanFactory != null) {
for (Entry<String, String> nextPair : serviceDelegateBeanNames.entrySet()) {
try {
registerService(Class.forName(ObjectUtils
.extractRawClassName(nextPair.getKey())),
beanFactory.getBean(nextPair.getValue(),
IComponentService.class));
} catch (ClassNotFoundException ex) {
throw new DescriptorException(ex);
}
}
serviceDelegateBeanNames = null;
}
}