|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.adapter.AbstractSourceAdapter<org.springframework.context.ApplicationEvent>
org.springframework.integration.adapter.event.ApplicationEventSourceAdapter
public class ApplicationEventSourceAdapter
A source adapter for passing Spring
ApplicationEvents
within messages.
Field Summary |
---|
Fields inherited from class org.springframework.integration.adapter.AbstractSourceAdapter |
---|
logger |
Constructor Summary | |
---|---|
ApplicationEventSourceAdapter()
|
Method Summary | |
---|---|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
|
void |
setEventTypes(java.util.List<java.lang.Class<? extends org.springframework.context.ApplicationEvent>> eventTypes)
Set the list of event types (classes that extend ApplicationEvent) that this adapter should send to the message channel. |
Methods inherited from class org.springframework.integration.adapter.AbstractSourceAdapter |
---|
afterPropertiesSet, getChannel, getMessageMapper, initialize, isInitialized, sendToChannel, setChannel, setMessageMapper, setSendTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationEventSourceAdapter()
Method Detail |
---|
public void setEventTypes(java.util.List<java.lang.Class<? extends org.springframework.context.ApplicationEvent>> eventTypes)
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |