BATCH-2513 Fix for typo in log statement of AbstractListenerFactoryBean.isListener

This commit is contained in:
Nick Vanderhoven
2016-06-15 07:39:20 +02:00
committed by Michael Minella
parent c7df668a31
commit f7e10909f9

View File

@@ -219,7 +219,7 @@ public abstract class AbstractListenerFactoryBean<T> implements FactoryBean<Obje
}
if(targetSource != null && targetSource.getTargetClass() != null && targetSource.getTargetClass().isInterface()) {
logger.warn(String.format("%s is an interface. The implementing class will not be queried for annotation based listener configurations. If using @StepScope on a @Bean method, be sure to return the implementing class so listner annotations can be used.", targetSource.getTargetClass().getName()));
logger.warn(String.format("%s is an interface. The implementing class will not be queried for annotation based listener configurations. If using @StepScope on a @Bean method, be sure to return the implementing class so listener annotations can be used.", targetSource.getTargetClass().getName()));
}
}
for (ListenerMetaData metaData : metaDataValues) {