org.apache.tapestry.services
Interface Alias

All Known Implementing Classes:
AliasImpl

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 AliasOverrides service also takes an unordered configuration of AliasContribution; 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()
          Returns an object provideer that checks the desired type against the service's contributions.
 

Method Detail

getObjectProvider

ObjectProvider getObjectProvider()
Returns an object provideer that checks the desired type against the service's contributions.



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.