org.springframework.batch.sample.jmx
Class StepExecutionApplicationEventAdvice
java.lang.Object
org.springframework.batch.sample.jmx.StepExecutionApplicationEventAdvice
- All Implemented Interfaces:
- ApplicationEventPublisherAware
public class StepExecutionApplicationEventAdvice
- extends Object
- implements ApplicationEventPublisherAware
Wraps calls for methods taking StepExecution
as an argument and
publishes notifications in the form of ApplicationEvent
.
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepExecutionApplicationEventAdvice
public StepExecutionApplicationEventAdvice()
setApplicationEventPublisher
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
- Specified by:
setApplicationEventPublisher
in interface ApplicationEventPublisherAware
before
public void before(org.aspectj.lang.JoinPoint jp,
StepExecution stepExecution)
after
public void after(org.aspectj.lang.JoinPoint jp,
StepExecution stepExecution)
onError
public void onError(org.aspectj.lang.JoinPoint jp,
StepExecution stepExecution,
Throwable t)
Copyright © 2009 SpringSource. All Rights Reserved.