# Package com.opensymphony.xwork2.inject

Guice (pronounced "juice").

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Container | Injects dependencies into constructors, methods and fields annotated with `Inject`.
  ContainerBuilder.Command | Implemented by classes which participate in building a container.
  Context | Context of the current injection.
  EarlyInitializable | A marking interface that will tell CI to initialise the bean when instating the whole objects' graph
  Factory<T> | A custom factory.
  Initializable | Beans marked with this interface will be always initialised after the internal DI mechanism will be created.
  Scope.Strategy | Pluggable scoping strategy.

- Class Summary
  Class | Description
  --- | ---
  ContainerBuilder | Builds a dependency injection `Container`.

- Enum Summary
  Enum | Description
  --- | ---
  Scope | Scope of an injected objects.

- Exception Summary
  Exception | Description
  --- | ---
  DependencyException | Thrown when a dependency is misconfigured.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  Inject | Annotates members and parameters which should have their value[s] injected.
  Scoped | Annotates a scoped implementation class.

## Package com.opensymphony.xwork2.inject Description

Guice (pronounced "juice"). A lightweight dependency injection container. Features include:

- constructor, method, and field injection
- static method and field injection
- circular reference support (including constructors if you depend upon interfaces)
- high performance
- externalize what needs to be and no more

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.