com.twitter.inject.app

App

Related Doc: package app

trait App extends app.App with Logging

Linear Supertypes
Logging, grizzled.slf4j.Logging, app.App, CloseAwaitably, Awaitable[Unit], Closable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. App
  2. Logging
  3. Logging
  4. App
  5. CloseAwaitably
  6. Awaitable
  7. Closable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final val MinGrace: Duration

    Definition Classes
    App
  5. def addFrameworkModule(module: Module): Unit

    Default modules can be overridden in production by overriding methods in your App or Server We take special care to make sure the module is not null, since a common bug is overriding the default methods using a val instead of a def

    Default modules can be overridden in production by overriding methods in your App or Server We take special care to make sure the module is not null, since a common bug is overriding the default methods using a val instead of a def

    Attributes
    protected
  6. def addFrameworkModules(modules: Module*): Unit

    Attributes
    protected
  7. def addFrameworkOverrideModules(modules: Module*): Unit

    Attributes
    protected[com.twitter.inject]
  8. def afterPostWarmup(): Unit

    Attributes
    protected
  9. def allowUndefinedFlags: Boolean

    Attributes
    protected
    Definition Classes
    App
  10. def appMain(): Unit

    Callback method executed after the Guice injector is created and warmup has fully completed.

    Callback method executed after the Guice injector is created and warmup has fully completed. Note: Not intended for use when using HttpServer or ThriftServer

  11. def args: Array[String]

    Definition Classes
    App
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def beforePostWarmup(): Unit

    Attributes
    protected
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def close(deadline: Time): Future[Unit]

    Definition Classes
    App → Closable
  16. def close(after: Duration): Future[Unit]

    Definition Classes
    Closable
  17. final def close(): Future[Unit]

    Definition Classes
    Closable
  18. def closeAwaitably(f: ⇒ Future[Unit]): Future[Unit]

    Attributes
    protected
    Definition Classes
    CloseAwaitably
  19. final def closeOnExit(closable: Closable): Unit

    Attributes
    protected
    Definition Classes
    App
  20. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  24. def defaultCloseGracePeriod: Duration

    Definition Classes
    App
  25. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  30. def exitOnError(reason: String): Unit

    Attributes
    protected
    Definition Classes
    App
  31. def failfastOnFlagsNotParsed: Boolean

    Attributes
    protected
    Definition Classes
    App
  32. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. val flag: Flags

    Definition Classes
    App
  34. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  35. def hashCode(): Int

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  39. final def init(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  40. def injector: Injector

  41. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  42. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  43. def isInfoEnabled: Boolean

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

    Definition Classes
    Any
  45. def isReady(implicit permit: CanAwait): Boolean

    Definition Classes
    CloseAwaitably → Awaitable
  46. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  47. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  48. def loadModules(): InstalledModules

    Attributes
    protected[com.twitter.inject]
  49. def logger: grizzled.slf4j.Logger

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

    Attributes
    protected
    Definition Classes
    Logging
  51. def main(): Unit

  52. final def main(args: Array[String]): Unit

    Definition Classes
    App
  53. def modules: Seq[Module]

    Production Guice modules

    Production Guice modules

    Attributes
    protected
  54. val name: String

    Definition Classes
    App
  55. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  56. final def nonExitingMain(args: Array[String]): Unit

    Definition Classes
    App
  57. final def notify(): Unit

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

    Definition Classes
    AnyRef
  59. final def onExit(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  60. def overrideModules: Seq[Module]

    Override Guice modules which redefine production bindings (Note: Only override during testing)

    Override Guice modules which redefine production bindings (Note: Only override during testing)

    Attributes
    protected
  61. def postStartup(): Unit

    Method to be called after injector creation

    Method to be called after injector creation

    Attributes
    protected
  62. def postWarmup(): Unit

    Method to be called after successful warmup

    Method to be called after successful warmup

    Attributes
    protected
  63. final def postmain(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  64. final def premain(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  65. def ready(timeout: Duration)(implicit permit: CanAwait): App.this.type

    Definition Classes
    CloseAwaitably → Awaitable
  66. def result(timeout: Duration)(implicit permit: CanAwait): Unit

    Definition Classes
    CloseAwaitably → Awaitable
  67. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. def warmup(): Unit

    Warmup method to be called before postWarmup

    Warmup method to be called before postWarmup

    Attributes
    protected
  76. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. def createInjector(): Injector

    Attributes
    protected[com.twitter.inject]
    Annotations
    @deprecated
    Deprecated

    (Since version now) use loadModules().injector

Inherited from Logging

Inherited from grizzled.slf4j.Logging

Inherited from app.App

Inherited from CloseAwaitably

Inherited from Awaitable[Unit]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped