blob: 513f2c7b85724a8baa172c9a42bc1ea14cae1fbb [file] [log] [blame]
crazybobleeabc4dd02007-02-01 01:44:36 +00001/**
2 * Copyright (C) 2006 Google Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
crazyboblee63b592b2007-01-25 02:45:24 +000016
17package com.google.inject;
18
19/**
20 * Scope constants.
21 *
22 * @author crazybob@google.com (Bob Lee)
23 */
24public class Scopes {
25
26 /**
27 * Default scope's name. One instance per injection.
28 */
29 public static final String DEFAULT = Key.DEFAULT_NAME;
30
31 /**
crazyboblee235d0682007-01-31 02:25:21 +000032 * Container scope's name. One instance per {@link Container}.
crazyboblee63b592b2007-01-25 02:45:24 +000033 */
crazyboblee235d0682007-01-31 02:25:21 +000034 public static final String CONTAINER = "container";
crazyboblee63b592b2007-01-25 02:45:24 +000035}