info.magnolia.objectfactory.guice
Class MagnoliaScopes.SessionScope

java.lang.Object
  extended by info.magnolia.objectfactory.guice.MagnoliaScopes.SessionScope
All Implemented Interfaces:
com.google.inject.Scope
Enclosing class:
MagnoliaScopes

public static class MagnoliaScopes.SessionScope
extends Object
implements com.google.inject.Scope

Scope for object local to the current session.

Version:
$Id$
See Also:
SessionScoped

Constructor Summary
MagnoliaScopes.SessionScope()
           
 
Method Summary
<T> com.google.inject.Provider<T>
scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> creator)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MagnoliaScopes.SessionScope

public MagnoliaScopes.SessionScope()
Method Detail

scope

public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key,
                                               com.google.inject.Provider<T> creator)
Specified by:
scope in interface com.google.inject.Scope

toString

public String toString()
Specified by:
toString in interface com.google.inject.Scope
Overrides:
toString in class Object


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.