com.google.inject
Class Scopes

java.lang.Object
  extended by com.google.inject.Scopes

public class Scopes
extends java.lang.Object

Built in scope implementations.

Author:
crazybob@google.com (Bob Lee)

Field Summary
static Scope CONTAINER
          One instance per container.
static java.lang.String CONTAINER_NAME
          Name of container scope.
static Scope DEFAULT
          The default scope, one instance per injection.
static java.lang.String DEFAULT_NAME
          Name of the default scope.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final java.lang.String DEFAULT_NAME
Name of the default scope.

See Also:
Constant Field Values

DEFAULT

public static final Scope DEFAULT
The default scope, one instance per injection.


CONTAINER_NAME

public static final java.lang.String CONTAINER_NAME
Name of container scope.

See Also:
Constant Field Values

CONTAINER

public static final Scope CONTAINER
One instance per container.