com.google.inject
Class Scopes
java.lang.Object
com.google.inject.Scopes
public class Scopes
- extends Object
Built in scope implementations.
- Author:
- crazybob@google.com (Bob Lee)
Field Summary |
static Scope |
CONTAINER
One instance per container. |
static Scope |
DEFAULT
The default scope, one instance per injection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final Scope DEFAULT
- The default scope, one instance per injection.
CONTAINER
public static final Scope CONTAINER
- One instance per container. Also see
@
ContainerScoped
.