Class StrategyBuilderImpl
- java.lang.Object
 - 
- org.apache.tapestry5.ioc.internal.services.StrategyBuilderImpl
 
 
- 
- All Implemented Interfaces:
 StrategyBuilder
public class StrategyBuilderImpl extends Object implements StrategyBuilder
 
- 
- 
Constructor Summary
Constructors Constructor Description StrategyBuilderImpl(PlasticProxyFactory proxyFactory) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <S> Sbuild(Class<S> adapterType, Map<Class,S> registrations)<S> Sbuild(StrategyRegistry<S> registry)Given a number of adapters implementing the service interface, builds a "dispatcher" implementations that delegates to the one of the adapters. 
 - 
 
- 
- 
Constructor Detail
- 
StrategyBuilderImpl
public StrategyBuilderImpl(@Builtin PlasticProxyFactory proxyFactory)
 
 - 
 
- 
Method Detail
- 
build
public <S> S build(StrategyRegistry<S> registry)
Description copied from interface:StrategyBuilderGiven a number of adapters implementing the service interface, builds a "dispatcher" implementations that delegates to the one of the adapters. It is an error if any of the methods takes no parameters.- Specified by:
 buildin interfaceStrategyBuilder- Type Parameters:
 S- the service interface type- Parameters:
 registry- defines the adapters based on parameter type (of the first parameter)- Returns:
 - a service implementation
 
 
 - 
 
 -