@ -60,7 +60,7 @@ public abstract class AbstractBeanFactoryBasedTargetSource implements TargetSour
@@ -60,7 +60,7 @@ public abstract class AbstractBeanFactoryBasedTargetSource implements TargetSour
@ -54,7 +54,7 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
@@ -54,7 +54,7 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
"Cannot use prototype-based TargetSource against non-prototype bean with name '"+
getTargetBeanName()+"': instances would not be independent");
this.targetBeanName+"': instances would not be independent");
}
}
@ -64,7 +64,7 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
@@ -64,7 +64,7 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
@ -75,7 +75,7 @@ public abstract class AbstractPrototypeBasedTargetSource extends AbstractBeanFac
@@ -75,7 +75,7 @@ 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.destroy();
}
catch(Throwableex){
logger.warn("Destroy method on bean with name '"+getTargetBeanName()+"' threw an exception",ex);
logger.warn("Destroy method on bean with name '"+this.targetBeanName+"' threw an exception",ex);
@ -54,7 +54,7 @@ public class PrototypeTargetSource extends AbstractPrototypeBasedTargetSource {
@@ -54,7 +54,7 @@ public class PrototypeTargetSource extends AbstractPrototypeBasedTargetSource {
@Override
publicStringtoString(){
return"PrototypeTargetSource for target bean with name '"+getTargetBeanName()+"'";
return"PrototypeTargetSource for target bean with name '"+this.targetBeanName+"'";
@ -61,7 +61,7 @@ public class ThreadLocalTargetSource extends AbstractPrototypeBasedTargetSource
@@ -61,7 +61,7 @@ public class ThreadLocalTargetSource extends AbstractPrototypeBasedTargetSource
newNamedThreadLocal<>("Thread-local instance of bean"){
@ -86,7 +86,7 @@ public class ThreadLocalTargetSource extends AbstractPrototypeBasedTargetSource
@@ -86,7 +86,7 @@ public class ThreadLocalTargetSource extends AbstractPrototypeBasedTargetSource
Objecttarget=this.targetInThread.get();
if(target==null){
if(logger.isDebugEnabled()){
logger.debug("No target for prototype '"+getTargetBeanName()+"' bound to thread: "+
logger.debug("No target for prototype '"+this.targetBeanName+"' bound to thread: "+
"creating one and binding it to thread '"+Thread.currentThread().getName()+"'");