Removed the LifeycleSupport base class. SimpleTaskScheduler and AbstractEndpoint now provide their own Lifecycle implementations. Added an IntegrationObjectSupport class with convenient access to the 'channelResolver' and 'taskScheduler' instances.

This commit is contained in:
Mark Fisher
2008-11-13 17:49:13 +00:00
parent 6c554f929d
commit 6b468da46d
7 changed files with 264 additions and 216 deletions

View File

@@ -50,8 +50,7 @@ public class ApplicationEventInboundChannelAdapter extends MessageProducerSuppor
}
}
@Override
protected void onEvent(ApplicationEvent event) {
public void onApplicationEvent(ApplicationEvent event) {
if (CollectionUtils.isEmpty(this.eventTypes)) {
this.sendEventAsMessage(event);
return;