crazyboblee | 63b592b | 2007-01-25 02:45:24 +0000 | [diff] [blame^] | 1 | // Copyright 2006 Google Inc. All Rights Reserved. |
2 | |||||
3 | package com.google.inject; | ||||
4 | |||||
5 | /** | ||||
6 | * Scope constants. | ||||
7 | * | ||||
8 | * @author crazybob@google.com (Bob Lee) | ||||
9 | */ | ||||
10 | public class Scopes { | ||||
11 | |||||
12 | /** | ||||
13 | * Default scope's name. One instance per injection. | ||||
14 | */ | ||||
15 | public static final String DEFAULT = Key.DEFAULT_NAME; | ||||
16 | |||||
17 | /** | ||||
18 | * Singleton scope's name. One instance per {@link Container}. | ||||
19 | */ | ||||
20 | public static final String SINGLETON = "singleton"; | ||||
21 | } |