| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UsesMappedConfiguration(key=java.lang.Class.class,
                         value=java.lang.Object.class)
public interface ServiceOverrideUsed to override built in services. Simply contribute a mapping from a type to an instance of that type. Anywhere that exact type is injected, without specifying markers or other annotations, the contributed instance will be injected, even if there is already a service that implements the interface.
In fact, this is not limited to overriding services; any object that can be injected based solely on type can be contributed.
| Method Summary | |
|---|---|
|  ObjectProvider | getServiceOverrideProvider()Returns a provider based on the configuration; this is wired into the MasterObjectProvider's configuration. | 
| Method Detail | 
|---|
ObjectProvider getServiceOverrideProvider()
MasterObjectProvider's configuration.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||