info.magnolia.objectfactory.guice
Class MagnoliaScopes.LocalScope

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

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

Scope for object local to the current request.

See Also:
LocalScoped

Constructor Summary
MagnoliaScopes.LocalScope()
           
 
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.LocalScope

public MagnoliaScopes.LocalScope()
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.