|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ServiceOverride
instead
@UsesConfiguration(value=AliasContribution.class) public interface Alias
The Alias service provides an ObjectProvider that fits into the MasterObjectProvider command chain and disambiguates injections based on type. Contibutions to the Alias service identify the desired service to inject for a particular service interface; this is only necessary when there is more than one service implementing the same interface.
The AliasManager service also takes an unordered configuration ofAliasContribution
; such contributions override the "factory" contributions to
the Alias service itself. This is often used to replace built-in service implementations with ones that are specific
to a particular application.
Method Summary | |
---|---|
ObjectProvider |
getObjectProvider()
Deprecated. Returns an object provider that checks the desired type against the service's contributions. |
Method Detail |
---|
ObjectProvider getObjectProvider()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |