Spring Integration

org.springframework.integration.twitter
Class AbstractInboundTwitterStatusEndpointSupport

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport<twitter4j.Status>
              extended by org.springframework.integration.twitter.AbstractInboundTwitterStatusEndpointSupport
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent
Direct Known Subclasses:
InboundMentionStatusEndpoint, InboundUpdatedStatusEndpoint

public abstract class AbstractInboundTwitterStatusEndpointSupport
extends AbstractInboundTwitterEndpointSupport<twitter4j.Status>

Simple base class for the reply and timeline cases (as well as any other Status implementations of TwitterResponse.

Author:
Josh Long

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport
AbstractInboundTwitterEndpointSupport.ApiCallback<C>
 
Field Summary
 
Fields inherited from class org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport
configuration, markerId, messagingTemplate, twitter
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
AbstractInboundTwitterStatusEndpointSupport()
           
 
Method Summary
protected  void markLastStatusId(twitter4j.Status statusId)
           
protected  List<twitter4j.Status> sort(List<twitter4j.Status> rl)
           
 
Methods inherited from class org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport
doStart, doStop, forward, forwardAll, getMarkerId, handleReceivingRateLimitStatus, hasMarkedStatus, onInit, refresh, runAsAPIRateLimitsPermit, setConfiguration, setRequestChannel, waitUntilPullAvailable
 
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, getComponentName, getComponentType, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
 

Constructor Detail

AbstractInboundTwitterStatusEndpointSupport

public AbstractInboundTwitterStatusEndpointSupport()
Method Detail

markLastStatusId

protected void markLastStatusId(twitter4j.Status statusId)
Specified by:
markLastStatusId in class AbstractInboundTwitterEndpointSupport<twitter4j.Status>

sort

protected List<twitter4j.Status> sort(List<twitter4j.Status> rl)
Specified by:
sort in class AbstractInboundTwitterEndpointSupport<twitter4j.Status>

Spring Integration

Copyright © 2010. All Rights Reserved.