| Modifier and Type | Field and Description |
|---|---|
| private final InjectorImpl | |
| private final InternalFactory | |
| private final Key | |
| private volatile Provider | |
| private final Scoping | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv | BindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public <V> V | acceptScopingVisitor(BindingScopingVisitor<V>
to call back on visitor)Implements com. |
| public <V> V | acceptVisitor(ElementVisitor<V>
to call back on visitor)Implements com. |
| public InjectorImpl | |
| public InternalFactory | |
| public Key | |
| public Provider | getProvider()
Implements com. |
| public Scoping | |
| public Object | getSource()
Implements com. |
| public boolean | |
| public String | |
| protected BindingImpl | |
| protected BindingImpl |
| injector | back to summary |
|---|---|
| private final InjectorImpl injector | |
| internalFactory | back to summary |
|---|---|
| private final InternalFactory<? extends T> internalFactory | |
| key | back to summary |
|---|---|
| private final Key<T> key | |
| provider | back to summary |
|---|---|
| private volatile Provider<T> provider | |
| scoping | back to summary |
|---|---|
| private final Scoping scoping | |
| source | back to summary |
|---|---|
| private final Object source | |
| BindingImpl | back to summary |
|---|---|
| pack-priv BindingImpl(InjectorImpl injector, Key<T> key, Object source, InternalFactory<? extends T> internalFactory, Scoping scoping) | |
| BindingImpl | back to summary |
|---|---|
| pack-priv BindingImpl(Object source, Key<T> key, Scoping scoping) | |
| acceptScopingVisitor | back to summary |
|---|---|
| public <V> V acceptScopingVisitor(BindingScopingVisitor<V> visitor) Implements com. Doc from com. Accepts a scoping visitor. Invokes the visitor method specific to this binding's scoping.
| |
| acceptVisitor | back to summary |
|---|---|
| public <V> V acceptVisitor(ElementVisitor<V> visitor) Implements com. Doc from com. Accepts an element visitor. Invokes the visitor method specific to this element's type.
| |
| getInjector | back to summary |
|---|---|
| public InjectorImpl getInjector() | |
| getInternalFactory | back to summary |
|---|---|
| public InternalFactory | |
| getKey | back to summary |
|---|---|
| public Key Implements com. Doc from com. Returns the key for this binding.
| |
| getProvider | back to summary |
|---|---|
| public Provider Implements com. Doc from com. Returns the scoped provider guice uses to fulfill requests for this binding.
| |
| getScoping | back to summary |
|---|---|
| public Scoping getScoping() | |
| getSource | back to summary |
|---|---|
| public Object getSource() Implements com. Doc from com. Returns an arbitrary object containing information about the "place" where this element was configured. Used by Guice in the production of descriptive error messages. Tools might specially handle types they know about;
| |
| isConstant | back to summary |
|---|---|
| public boolean isConstant() Is this a constant binding? This returns true for constant bindings as well as toInstance() bindings. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| withKey | back to summary |
|---|---|
| protected BindingImpl | |
| withScoping | back to summary |
|---|---|
| protected BindingImpl | |