com.twitter.inject

TwitterModule

abstract class TwitterModule extends AbstractModule with TwitterBaseModule with Logging

Linear Supertypes
Logging, grizzled.slf4j.Logging, TwitterBaseModule, TwitterModuleLifecycle, TwitterModuleFlags, AbstractModule, Module, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TwitterModule
  2. Logging
  3. Logging
  4. TwitterBaseModule
  5. TwitterModuleLifecycle
  6. TwitterModuleFlags
  7. AbstractModule
  8. Module
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TwitterModule()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addError(arg0: Message): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  7. def addError(arg0: Throwable): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  8. def addError(arg0: String, arg1: <repeated...>[AnyRef]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  9. def addTypeConvertor[T](converter: TypeConverter)(implicit arg0: Manifest[T]): Unit

    Attributes
    protected
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def bind[T](implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
  12. def bind[T](annot: Annotation)(implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
  13. def bind[T](arg0: Class[T]): AnnotatedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  14. def bind[T](arg0: TypeLiteral[T]): AnnotatedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  15. def bind[T](arg0: Key[T]): LinkedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  16. def bindAssistedFactory[T](implicit arg0: Manifest[T]): Unit

    Attributes
    protected
  17. def bindConstant(): AnnotatedConstantBindingBuilder

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  18. def bindInterceptor(arg0: Matcher[_ >: Class[_]], arg1: Matcher[_ >: Method], arg2: <repeated...>[MethodInterceptor]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  19. def bindListener(arg0: Matcher[_ >: Binding[_]], arg1: <repeated...>[ProvisionListener]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  20. def bindListener(arg0: Matcher[_ >: TypeLiteral[_]], arg1: TypeListener): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  21. def bindScope(arg0: Class[_ <: Annotation], arg1: Scope): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  22. def bindSingleton[T](annot: Annotation)(implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
  23. def bindSingleton[T](implicit arg0: Manifest[T]): ScalaAnnotatedBindingBuilder[T]

    Attributes
    protected
  24. def binder(): Binder

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def configure(): Unit

    Attributes
    protected
    Definition Classes
    TwitterModule → AbstractModule
  27. final def configure(arg0: Binder): Unit

    Definition Classes
    AbstractModule → Module
  28. def convertToTypes(arg0: Matcher[_ >: TypeLiteral[_]], arg1: TypeConverter): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  29. def createKey[T](implicit arg0: Manifest[T]): Key[T]

    Attributes
    protected
    Definition Classes
    TwitterBaseModule
  30. def createMultiBinder[MultiBindType](implicit arg0: Manifest[MultiBindType]): ScalaMultibinder[MultiBindType]

    Attributes
    protected
  31. def currentStage(): Stage

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  32. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  33. def debug(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  34. def debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]

    Log an debug msg that contains the result of the passed in func.

    Log an debug msg that contains the result of the passed in func.

    msg

    A string containing a single %s which will be replaced with the result of func.

    func

    The function returning a future whose result will be placed in msg.

    returns

    Result of func

    Attributes
    protected
    Definition Classes
    Logging
  35. def debugResult[T](msg: String)(func: ⇒ T): T

    Log an debug msg that contains the result of the passed in func.

    Log an debug msg that contains the result of the passed in func.

    msg

    A string containing a single %s which will be replaced with the result of func.

    func

    The function whose result will be placed in msg.

    returns

    Result of func

    Attributes
    protected
    Definition Classes
    Logging
  36. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  38. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def error(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def errorResult[T](msg: String)(func: ⇒ T): T

    Log an error msg that contains the result of the passed in func.

    Log an error msg that contains the result of the passed in func.

    msg

    A string containing a single %s which will be replaced with the result of func.

    func

    The function whose result will be placed in msg.

    returns

    Result of func

    Attributes
    protected
    Definition Classes
    Logging
  41. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. def flag[T](name: String, help: String)(implicit arg0: Flaggable[T], arg1: Manifest[T]): Flag[T]

    Attributes
    protected
    Definition Classes
    TwitterModuleFlags
  43. def flag[T](name: String, default: T, help: String)(implicit arg0: Flaggable[T]): Flag[T]

    Create a flag and add it to the modules flags list

    Create a flag and add it to the modules flags list

    Attributes
    protected
    Definition Classes
    TwitterModuleFlags
  44. val flags: ArrayBuffer[Flag[_]]

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterModuleFlags
  45. def frameworkModules: Seq[Module]

    Additional framework modules to be composed into this module

    Additional framework modules to be composed into this module

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterBaseModule
  46. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  47. def getMembersInjector[T](arg0: TypeLiteral[T]): MembersInjector[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  48. def getMembersInjector[T](arg0: Class[T]): MembersInjector[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  49. def getProvider[T](implicit arg0: Manifest[T]): Provider[T]

    Attributes
    protected
  50. def getProvider[T](arg0: Class[T]): Provider[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  51. def getProvider[T](arg0: Key[T]): Provider[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  52. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  53. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  54. def info(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  55. def infoResult[T](msg: String)(func: ⇒ T): T

    Log an info msg that contains the result of the passed in func.

    Log an info msg that contains the result of the passed in func.

    msg

    A string containing a single %s which will be replaced with the result of func.

    func

    The function whose result will be placed in msg.

    returns

    Result of func

    Attributes
    protected
    Definition Classes
    Logging
  56. def install(module: Module): Unit

    Attributes
    protected
    Definition Classes
    TwitterModule → AbstractModule
  57. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  58. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  59. def isInfoEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  60. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  61. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  62. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  63. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging → Logging
  64. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  65. def modules: Seq[Module]

    Additional modules to be composed into this module

    Additional modules to be composed into this module

    NOTE: This Seq of modules is generally used instead of the standard Guice 'install' method so that TwitterModules with flag definitions can be supported.

    However, AbstractModule.install can still be used for non-TwitterModules, and is sometimes preferred due to install being deferred until after flag parsing occurs.

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterBaseModule
  66. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  67. final def notify(): Unit

    Definition Classes
    AnyRef
  68. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  69. def requestInjection(arg0: Any): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  70. def requestStaticInjection(arg0: <repeated...>[Class[_]]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  71. def requireBinding(arg0: Class[_]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  72. def requireBinding(arg0: Key[_]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  73. def singletonShutdown(injector: Injector): Unit

    Invoke as JVM shuts down.

    Invoke as JVM shuts down. NOTE: This method should only get singleton instances from the injector.

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterModuleLifecycle
  74. def singletonStartup(injector: Injector): Unit

    Invoke after Guice injector is started NOTE: This method should only get singleton instances from the injector.

    Invoke after Guice injector is started NOTE: This method should only get singleton instances from the injector.

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    TwitterModuleLifecycle
  75. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  76. def time[T](formatStr: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  77. def toString(): String

    Definition Classes
    AnyRef → Any
  78. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  79. def trace(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  80. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  84. def warn(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  85. def warnResult[T](msg: String)(func: ⇒ T): T

    Log an warn msg that contains the result of the passed in func.

    Log an warn msg that contains the result of the passed in func.

    msg

    A string containing a single %s which will be replaced with the result of func.

    func

    The function whose result will be placed in msg.

    returns

    Result of func

    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from grizzled.slf4j.Logging

Inherited from TwitterBaseModule

Inherited from TwitterModuleLifecycle

Inherited from TwitterModuleFlags

Inherited from AbstractModule

Inherited from Module

Inherited from AnyRef

Inherited from Any

Ungrouped