new Object[]{clazz == null ? "null" : clazz.getName(),
jsoClazz == null ? "null" : jsoClazz.getName()});
}
synchronized (_serializerSet) {
ISerializer s = (ISerializer) _serializableMap.get(clazz);
if (s != null && s.canSerialize(clazz, jsoClazz)) {
if (logger.isLoggable(Level.FINE)) {
logger.log(Level.FINE, "direct match serializer {0}",
s.getClass().getName());
}
return s;
}
final Iterator i = _serializerList.iterator();
while (i.hasNext()) {
s = (ISerializer) i.next();
if (s.canSerialize(clazz, jsoClazz)) {
if (logger.isLoggable(Level.FINE)) {
logger.log(Level.FINE, "search found serializer {0}",
s.getClass().getName());
}
return s;
}
}
}