Class ServletScopes.Context

java.lang.Object
com.google.inject.servlet.ServletScopes.Context
All Implemented Interfaces:
RequestScoper
Enclosing class:
ServletScopes

private static class ServletScopes.Context extends Object implements RequestScoper
  • Field Details

  • Constructor Details

    • Context

      private Context()
  • Method Details

    • open

      Description copied from interface: RequestScoper
      Opens up the request scope until the returned object is closed. Implementations should ensure (e.g. by blocking) that multiple threads cannot open the same request scope concurrently. It is allowable to open the same request scope on the same thread, as long as open/close calls are correctly nested.
      Specified by:
      open in interface RequestScoper