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.
- Version:
- $Id$
- 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-2013 Magnolia International Ltd.. All Rights Reserved.