Spring Integration

org.springframework.integration.twitter
Class InboundMentionStatusEndpoint

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
                  extended by org.springframework.integration.twitter.InboundMentionStatusEndpoint
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle, NamedComponent

public class InboundMentionStatusEndpoint
extends AbstractInboundTwitterStatusEndpointSupport

Handles forwarding all new Status that are 'replies' or 'mentions' to some other tweet.

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
InboundMentionStatusEndpoint()
           
 
Method Summary
protected  void refresh()
           
 
Methods inherited from class org.springframework.integration.twitter.AbstractInboundTwitterStatusEndpointSupport
markLastStatusId, sort
 
Methods inherited from class org.springframework.integration.twitter.AbstractInboundTwitterEndpointSupport
doStart, doStop, forward, forwardAll, getMarkerId, handleReceivingRateLimitStatus, hasMarkedStatus, onInit, 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

InboundMentionStatusEndpoint

public InboundMentionStatusEndpoint()
Method Detail

refresh

protected void refresh()
                throws Exception
Specified by:
refresh in class AbstractInboundTwitterEndpointSupport<twitter4j.Status>
Throws:
Exception

Spring Integration

Copyright © 2010. All Rights Reserved.