|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.StrategyBuilderImpl
public class StrategyBuilderImpl
| Constructor Summary | |
|---|---|
StrategyBuilderImpl(ClassFactory classFactory)
|
|
| Method Summary | ||
|---|---|---|
|
build(java.lang.Class<S> adapterType,
java.util.Map<java.lang.Class,S> registrations)
|
|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrategyBuilderImpl(@Builtin
ClassFactory classFactory)
| Method Detail |
|---|
public <S> S build(StrategyRegistry<S> registry)
StrategyBuilder
build in interface StrategyBuilderS - the service interface typeregistry - defines the adapters based on parameter type (of the first parameter)
public <S> S build(java.lang.Class<S> adapterType,
java.util.Map<java.lang.Class,S> registrations)
build in interface StrategyBuilderregistrations - map frm class to the adapter type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||