| com.google.inject.spi.SourceProvider
SourceProvider | public interface SourceProvider (Code) | | Provides source objects to the
com.google.inject.Binder .
A source object is any object which points back to the current location
within the configuration. Guice uses source objects in error messages
and associates them with bindings.
author: crazybob@google.com (Bob Lee) |
Method Summary | |
Object | source() Creates an object pointing to the current location within the
configuration. |
source | Object source()(Code) | | Creates an object pointing to the current location within the
configuration. If we run into a problem later, we'll be able to trace it
back to the original source. Useful for debugging.
|
|
|