Class Twitter4jConnector

java.lang.Object
io.vertigo.connectors.twitter.Twitter4jConnector
All Implemented Interfaces:
io.vertigo.core.node.component.Connector<twitter4j.Twitter>, io.vertigo.core.node.component.CoreComponent

public class Twitter4jConnector extends Object implements io.vertigo.core.node.component.Connector<twitter4j.Twitter>
Component to retrieve a configured twitter4j client.
Author:
mlaroche
  • Field Summary

    Fields inherited from interface io.vertigo.core.node.component.Connector

    DEFAULT_CONNECTOR_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    Twitter4jConnector(String oauthConsumerKey, String oauthConsumerSecret, String oauthAccessToken, String oauthAccessTokenSecret)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    twitter4j.Twitter
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.vertigo.core.node.component.Connector

    getName
  • Constructor Details

    • Twitter4jConnector

      @Inject public Twitter4jConnector(String oauthConsumerKey, String oauthConsumerSecret, String oauthAccessToken, String oauthAccessTokenSecret)
  • Method Details

    • getClient

      public twitter4j.Twitter getClient()
      Specified by:
      getClient in interface io.vertigo.core.node.component.Connector<twitter4j.Twitter>
      Returns:
      the twitter client