IN PROGRESS - BATCH-693: Refactor samples along domain contours
This commit is contained in:
@@ -27,9 +27,9 @@ import org.aspectj.lang.JoinPoint;
|
||||
*
|
||||
* @author Lucas Ward
|
||||
*/
|
||||
public class ProcessorLogAdvice {
|
||||
public class LogAdvice {
|
||||
|
||||
private static Log log = LogFactory.getLog(ProcessorLogAdvice.class);
|
||||
private static Log log = LogFactory.getLog(LogAdvice.class);
|
||||
|
||||
/**
|
||||
* Wraps original method and adds logging both before and after method
|
||||
@@ -24,7 +24,7 @@
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
</bean>
|
||||
|
||||
<bean id="logAdvice" class="org.springframework.batch.sample.advice.ProcessorLogAdvice" />
|
||||
<bean id="logAdvice" class="org.springframework.batch.sample.advice.LogAdvice" />
|
||||
|
||||
<bean id="eventAdvice" class="org.springframework.batch.sample.advice.StepExecutionApplicationEventAdvice" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user