|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
org.springframework.integration.event.ApplicationEventInboundChannelAdapter
public class ApplicationEventInboundChannelAdapter
An inbound Channel Adapter that passes Spring
ApplicationEvents within messages.
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
ApplicationEventInboundChannelAdapter()
|
|
| Method Summary | |
|---|---|
protected void |
doStart()
Subclasses must implement this method with the start behavior. |
protected void |
doStop()
Subclasses must implement this method with the stop behavior. |
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.endpoint.MessageProducerSupport |
|---|
onInit, sendMessage, setOutputChannel, setSendTimeout |
| Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
|---|
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
afterPropertiesSet, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setChannelResolver, setConversionService, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationEventInboundChannelAdapter()
| 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.ApplicationListenerprotected void doStart()
AbstractEndpointAbstractEndpoint.lifecycleLock.
doStart in class AbstractEndpointprotected void doStop()
AbstractEndpointAbstractEndpoint.lifecycleLock.
doStop in class AbstractEndpoint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||