|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.context.event.EventPublicationInterceptor
Interceptor that knows how to publish ApplicationEvents to all
ApplicationListeners registered with ApplicationContext
| Field Summary |
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
| Constructor Summary | |
EventPublicationInterceptor()
|
|
| Method Summary | |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
|
void |
setApplicationEventClass(java.lang.Class applicationEventClass)
Set the application event class to publish. |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EventPublicationInterceptor()
| Method Detail |
public void setApplicationEventClass(java.lang.Class applicationEventClass)
The event class must have a constructor with a single Object argument for the event source. The interceptor will pass in the invoked object.
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorjava.lang.Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||