| Modifier and Type | Field and Description |
|---|---|
| private final IdentityHashMap | |
| private Dependency | dependency
Keeps track of the type that is currently being requested for injection. |
| private int | enterCount
The number of times |
| private final InjectorImpl. | |
| private final Object[] | toClear
A single element array to clear when the |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| pack-priv void | |
| pack-priv <T> ConstructionContext | |
| pack-priv Dependency | |
| pack-priv InjectorImpl. | |
| pack-priv void |
| constructionContexts | back to summary |
|---|---|
| private final IdentityHashMap<Object, ConstructionContext<?>> constructionContexts | |
| dependency | back to summary |
|---|---|
| private Dependency<?> dependency Keeps track of the type that is currently being requested for injection. | |
| enterCount | back to summary |
|---|---|
| private int enterCount The number of times | |
| options | back to summary |
|---|---|
| private final InjectorImpl. | |
| toClear | back to summary |
|---|---|
| private final Object[] toClear A single element array to clear when the This is the value stored in the | |
| InternalContext | back to summary |
|---|---|
| pack-priv InternalContext(InjectorImpl. | |
| close | back to summary |
|---|---|
| public void close() Implements java. Should be called any any method that received an instance via InjectorImpl.enterContext().
| |
| enter | back to summary |
|---|---|
| pack-priv void enter() Should only be called by InjectorImpl.enterContext(). | |
| getConstructionContext | back to summary |
|---|---|
pack-priv <T> ConstructionContext
| |
| getDependency | back to summary |
|---|---|
| pack-priv Dependency | |
| getInjectorOptions | back to summary |
|---|---|
| pack-priv InjectorImpl. | |
| setDependency | back to summary |
|---|---|
| pack-priv void setDependency(Dependency<?> dependency) Used to set the current dependency. The currentDependency field is only used by InternalFactoryToProviderAdapter to propagate information to singleton scope. See comments in that class about alternatives. | |