info.magnolia.objectfactory.guice
Class MagnoliaScopes.LazySingletonScope
java.lang.Object
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.
- See Also:
LazySingleton
Method Summary |
<T> com.google.inject.Provider<T> |
|
scope(com.google.inject.Key<T> key,
com.google.inject.Provider<T> creator)
|
String |
toString()
|
MagnoliaScopes.LazySingletonScope
public MagnoliaScopes.LazySingletonScope()
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.