info.magnolia.objectfactory.guice
Class MagnoliaScopes

java.lang.Object
  extended by info.magnolia.objectfactory.guice.MagnoliaScopes

public class MagnoliaScopes
extends Object

Servlet scopes that use WebContext to get request and session.

Version:
$Id$

Nested Class Summary
static class MagnoliaScopes.LazySingletonScope
          Scope for lazy singletons.
static class MagnoliaScopes.LocalScope
          Scope for object local to the current request.
static class MagnoliaScopes.SessionScope
          Scope for object local to the current session.
 
Field Summary
static com.google.inject.Scope LAZY_SINGLETON
           
static com.google.inject.Scope LOCAL
          HTTP servlet request scope.
static com.google.inject.Scope SESSION
          HTTP session scope.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAZY_SINGLETON

public static final com.google.inject.Scope LAZY_SINGLETON

LOCAL

public static final com.google.inject.Scope LOCAL
HTTP servlet request scope.


SESSION

public static final com.google.inject.Scope SESSION
HTTP session scope.



Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.