@ -651,7 +651,7 @@ public class ProxyFactoryBean extends ProxyCreatorSupport
@@ -651,7 +651,7 @@ public class ProxyFactoryBean extends ProxyCreatorSupport
@ -74,8 +74,8 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
@@ -74,8 +74,8 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
@ -85,7 +85,7 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
@@ -85,7 +85,7 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
((DisposableBean)target).destroy();
}
catch(Throwableex){
logger.error("Couldn't invoke destroy method of bean with name '"+getTargetBeanName()+"'",ex);
logger.error("Destroy method on bean with name '"+getTargetBeanName()+"' threw an exception",ex);
@ -77,7 +77,7 @@ public class AutoProxyRegistrar implements ImportBeanDefinitionRegistrar {
@@ -77,7 +77,7 @@ public class AutoProxyRegistrar implements ImportBeanDefinitionRegistrar {
}
}
}
if(!candidateFound){
if(!candidateFound&&logger.isWarnEnabled()){
Stringname=getClass().getSimpleName();
logger.warn(String.format("%s was imported but no annotations were found "+
"having both 'mode' and 'proxyTargetClass' attributes of type "+
@ -157,7 +157,7 @@ public class ScheduledExecutorFactoryBean extends ExecutorConfigurationSupport
@@ -157,7 +157,7 @@ public class ScheduledExecutorFactoryBean extends ExecutorConfigurationSupport
@ -99,7 +99,7 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
@@ -99,7 +99,7 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
logger.info("Could not apply remove-on-cancel policy - not a Java 7+ ScheduledThreadPoolExecutor");
logger.info("Could not apply remove-on-cancel policy - not a ScheduledThreadPoolExecutor");
}
}
@ -122,7 +122,7 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
@@ -122,7 +122,7 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
logger.info("Could not apply remove-on-cancel policy - not a Java 7+ ScheduledThreadPoolExecutor");
logger.info("Could not apply remove-on-cancel policy - not a ScheduledThreadPoolExecutor");
}
}
@ -284,8 +284,8 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
@@ -284,8 +284,8 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
@ -403,8 +403,8 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
@@ -403,8 +403,8 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
@ -188,7 +188,7 @@ public class TemporaryLobCreator implements LobCreator {
@@ -188,7 +188,7 @@ public class TemporaryLobCreator implements LobCreator {
@ -76,7 +76,9 @@ public class WebSocketAnnotationMethodMessageHandler extends SimpAnnotationMetho
@@ -76,7 +76,9 @@ public class WebSocketAnnotationMethodMessageHandler extends SimpAnnotationMetho
@ -145,9 +145,9 @@ public class ServerEndpointExporter extends WebApplicationObjectSupport
@@ -145,9 +145,9 @@ public class ServerEndpointExporter extends WebApplicationObjectSupport