info.magnolia.objectfactory.guice
Class MagnoliaScopes.LazySingletonScope

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

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

Scope for lazy singletons.

Version:
$Id$
See Also:
LazySingleton

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

public MagnoliaScopes.LazySingletonScope()
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-2013 Magnolia International Ltd.. All Rights Reserved.