// disabled or it is ok!
LOG.debug("Introspection is disabled!");
return results;
}
Introspector introspector =
(Introspector) properties.get(ResolverStrategy.PROPERTY_INTROSPECTOR);
if (introspector == null) {
String message = "No Introspector defined in properties!";
LOG.warn(message);
throw new IllegalStateException(message);
}
Class clazz = ResolveHelpers.loadClass(classLoader, className);
if (clazz != null) {
try {
XMLClassDescriptor descriptor = introspector.generateClassDescriptor(clazz);
if (descriptor != null) {
if (LOG.isDebugEnabled()) {
LOG.debug("Found descriptor: " + descriptor);
}
results.put(clazz.getName(), descriptor);