log.debug("Cache Map = " + cache.toString());
if (key != null)
log.debug("Description Key = " + key.printKey());
}
ServiceDescription serviceDesc = null;
synchronized(configContext) {
serviceDesc = cache.get(key);
if (log.isDebugEnabled()) {
log.debug("Check to see if ServiceDescription is found in cache");
}
if (serviceDesc != null) {
if (log.isDebugEnabled()) {
log.debug("ServiceDescription found in the cache");
log.debug(serviceDesc.toString());
}
}
if (serviceDesc == null) {
if (log.isDebugEnabled()) {
log.debug("ServiceDescription not found in the cache");
log.debug(" creating new ServiceDescriptionImpl");
}
serviceDesc = new ServiceDescriptionImpl(wsdlURL, serviceQName, serviceClass);
if (log.isDebugEnabled()) {
log.debug("ServiceDescription created with WSDL URL: " + wsdlURL + "; QName: " +
serviceQName + "; Class: " + serviceClass);
log.debug(serviceDesc.toString());
}
if (log.isDebugEnabled()) {
log.debug("Caching new ServiceDescription in the cache");
}
cache.put(key, serviceDesc);