public class StrategyBuilderImpl extends Object implements StrategyBuilder
| Constructor and Description |
|---|
StrategyBuilderImpl(PlasticProxyFactory proxyFactory) |
| Modifier and Type | Method and Description |
|---|---|
<S> S |
build(Class<S> adapterType,
Map<Class,S> registrations) |
<S> S |
build(StrategyRegistry<S> registry)
Given a number of adapters implementing the service interface, builds a "dispatcher" implementations that
delegates to the one of the adapters.
|
public StrategyBuilderImpl(@Builtin PlasticProxyFactory proxyFactory)
public <S> S build(StrategyRegistry<S> registry)
StrategyBuilderbuild in interface StrategyBuilderS - the service interface typeregistry - defines the adapters based on parameter type (of the first parameter)5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.