| com.bm.ejb3guice.inject.Binding
Binding | public interface Binding (Code) | | A mapping from a key (type and optional annotation) to a provider of
instances of that type. This interface is part of the
Injector introspection API and is intended primary for use by tools.
author: crazybob@google.com (Bob Lee) |
Method Summary | |
Key<T> | getKey() Returns the key for this binding. | Provider<T> | getProvider() Returns the provider guice uses to fulfill requests for this binding. | Object | getSource() Returns an arbitrary object containing information about the "place"
where this binding was configured. |
getKey | Key<T> getKey()(Code) | | Returns the key for this binding.
|
getProvider | Provider<T> getProvider()(Code) | | Returns the provider guice uses to fulfill requests for this binding.
|
getSource | Object getSource()(Code) | | Returns an arbitrary object containing information about the "place"
where this binding was configured. Used by Guice in the production of
descriptive error messages.
|
|
|