|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Container | Injects dependencies into constructors, methods and fields annotated with
@Inject . |
Context | Context of the current injection. |
ContextualFactory<T> | Gets instances of T . |
Factory<T> | Gets instances of T . |
Module | Implemented by classes which configure a container. |
Scope | A scope which bound objects can reside in. |
Class Summary | |
---|---|
AbstractModule | A support class for Module s which reduces repetition and
results in a more readable configuration. |
Binding<T> | A binding from a Key (type and name) to an implementation. |
ContainerBuilder | Builds a dependency injection Container . |
Key<T> | Binding key consisting of a type and a name. |
Scopes | Built in scope implementations. |
TypeLiteral<T> | Represents a generic type T . |
Exception Summary | |
---|---|
ContainerCreationException | Thrown when errors occur while creating a Container . |
Annotation Types Summary | |
---|---|
ContainerScoped | Apply this to implementation classes when you want one instance per container, as opposed to one instance per injection. |
Inject | Annotates members and parameters which should have their value[s] injected. |
Scoped | Annotates an implementation class with the name of its scope. |
Guice (sounds like like "juice")
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |