Class

org.fusesource.scalate.guice

ScalateModule

Related Doc: package guice

Permalink

class ScalateModule extends ServletModule

A default Guice com.google.inject.servlet.ServletModule which registers Jersey and the Scalate servlets

Source
ScalateModule.scala
Version

$Revision : 1.1 $

Linear Supertypes
ServletModule, AbstractModule, Module, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalateModule
  2. ServletModule
  3. AbstractModule
  4. Module
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalateModule()

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to any2stringadd[ScalateModule] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ScalateModule, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to ArrowAssoc[ScalateModule] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

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

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

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  9. def applyJerseyFilter(): Unit

    Permalink

    Registers the Jersey filter

    Registers the Jersey filter

    Attributes
    protected
  10. def applyScalateServlets(): Unit

    Permalink

    Registers the Scalate servlets

    Registers the Scalate servlets

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

    Permalink
    Definition Classes
    Any
  12. def bind[T](arg0: Class[T]): AnnotatedBindingBuilder[T]

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

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

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  15. def bindConstant(): AnnotatedConstantBindingBuilder

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

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

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

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  19. def binder(): Binder

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  20. implicit def builderToRichBuilder(builder: ServletKeyBindingBuilder): RichBuilder

    Permalink

    The implicit type conversion to avoid the 'with' method in the DSL

  21. def clone(): AnyRef

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

    Permalink
    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule → AbstractModule
  23. final def configure(arg0: Binder): Unit

    Permalink
    Definition Classes
    AbstractModule → Module
  24. def configureServlets(): Unit

    Permalink

    Configure any servlets or filters for the application

    Configure any servlets or filters for the application

    Definition Classes
    ScalateModule → ServletModule
  25. def convertToTypes(arg0: Matcher[_ >: TypeLiteral[_]], arg1: TypeConverter): Unit

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  26. def createGuiceContainer(injector: Injector): GuiceContainer

    Permalink

    Creates the com.sun.jersey.guice.spi.container.servlet.GuiceContainer to configure Jersey

    Creates the com.sun.jersey.guice.spi.container.servlet.GuiceContainer to configure Jersey

    Annotations
    @Provides() @Singleton()
  27. def createResourceConfig: ResourceConfig

    Permalink

    Creates the resource configuration for the Jersey com.sun.jersey.guice.spi.container.servlet.GuiceContainer

    Creates the resource configuration for the Jersey com.sun.jersey.guice.spi.container.servlet.GuiceContainer

    Annotations
    @Provides() @Singleton()
  28. def createResourceConfigProperties: Map[String, AnyRef]

    Permalink

    Creates the properties used to configure the com.sun.jersey.guice.spi.container.servlet.GuiceContainer's resource config in #createResourceConfig for Jersey

    Creates the properties used to configure the com.sun.jersey.guice.spi.container.servlet.GuiceContainer's resource config in #createResourceConfig for Jersey

    Annotations
    @Provides() @Singleton()
  29. def currentStage(): Stage

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  30. def ensuring(cond: (ScalateModule) ⇒ Boolean, msg: ⇒ Any): ScalateModule

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to Ensuring[ScalateModule] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. def ensuring(cond: (ScalateModule) ⇒ Boolean): ScalateModule

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to Ensuring[ScalateModule] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. def ensuring(cond: Boolean, msg: ⇒ Any): ScalateModule

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to Ensuring[ScalateModule] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  33. def ensuring(cond: Boolean): ScalateModule

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to Ensuring[ScalateModule] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  34. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. def fileExtensionsExcludedFromJersey: List[String]

    Permalink

    Returns the list of file types which should be excluded from the Jersey filter (until we can get the FilterForwardOn404 setting working) so that they are rendered correctly using the servlet engine

    Returns the list of file types which should be excluded from the Jersey filter (until we can get the FilterForwardOn404 setting working) so that they are rendered correctly using the servlet engine

    Attributes
    protected
  37. final def filter(arg0: String, arg1: <repeated...>[String]): FilterKeyBindingBuilder

    Permalink
    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  38. final def filterRegex(arg0: String, arg1: <repeated...>[String]): FilterKeyBindingBuilder

    Permalink
    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  39. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to StringFormat[ScalateModule] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  41. final def getClass(): Class[_]

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

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

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  44. def getProvider[T](arg0: Class[T]): Provider[T]

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

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  46. final def getServletContext(): ServletContext

    Permalink
    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  47. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  48. def install(arg0: Module): Unit

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  49. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  50. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. final def notifyAll(): Unit

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

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

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

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

    Permalink
    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  57. def resourcePackageNames: List[String]

    Permalink

    Returns a list of package names which are recursively scanned looking for JAXRS resource classes

  58. var scalateServletUris: List[String]

    Permalink
  59. final def serve(arg0: String, arg1: <repeated...>[String]): ServletKeyBindingBuilder

    Permalink
    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  60. final def serveRegex(arg0: String, arg1: <repeated...>[String]): ServletKeyBindingBuilder

    Permalink
    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  61. def serveWith[T <: HttpServlet](urlPattern: String, aClass: Class[T]): Unit

    Permalink

    A helper method to avoid this compiler bug when using with or the RichBuilder (which uses with) inside a loop

    A helper method to avoid this compiler bug when using with or the RichBuilder (which uses with) inside a loop

    Attributes
    protected
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def templateExtensions: List[String]

    Permalink

    Returns the default list of template extensions which are rendered directly with Scalate rather than going through the Jersey filter

    Returns the default list of template extensions which are rendered directly with Scalate rather than going through the Jersey filter

    Attributes
    protected
  64. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  65. var useJerseyUriRegex: Boolean

    Permalink
  66. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. def webPageContentRegex: List[String]

    Permalink

    The regular expression to find web content which should not be processed by the Jersey filter.

    The regular expression to find web content which should not be processed by the Jersey filter. This is only required until we can get the FilterForwardOn404 issue resolved. See: https://jersey.dev.java.net/issues/show_bug.cgi?id=485

  70. def [B](y: B): (ScalateModule, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalateModule to ArrowAssoc[ScalateModule] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ServletModule

Inherited from AbstractModule

Inherited from Module

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ScalateModule to any2stringadd[ScalateModule]

Inherited by implicit conversion StringFormat from ScalateModule to StringFormat[ScalateModule]

Inherited by implicit conversion Ensuring from ScalateModule to Ensuring[ScalateModule]

Inherited by implicit conversion ArrowAssoc from ScalateModule to ArrowAssoc[ScalateModule]

Ungrouped