## Uses of Class
javax.inject.Scope

- Packages that use Scope
  Package | Description
  --- | ---
  javax.enterprise.context | Annotations and interfaces relating to scopes and contexts.
  javax.inject | This package specifies a means for obtaining objects in such a way as to maximize reusability, testability and maintainability compared to traditional approaches such as constructors, factories, and service locators (e.g., JNDI). This process, known as dependency injection, is beneficial to most nontrivial applications.

- - ### Uses of Scope in javax.enterprise.context

    Classes in javax.enterprise.context with annotations of type Scope
    Modifier and Type | Class and Description
    --- | ---
    `interface` | `Dependent` Specifies that a bean belongs to the dependent pseudo-scope.

  - ### Uses of Scope in javax.inject

    Classes in javax.inject with annotations of type Scope
    Modifier and Type | Class and Description
    --- | ---
    `interface` | `Singleton` Identifies a type that the injector only instantiates once.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.