|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.context.support.ApplicationObjectSupport org.springframework.context.event.EventPublicationInterceptor
Interceptor that knows how to publish ApplicationEvent
s to all
ApplicationListener
s 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.MethodInterceptor
java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |