A service implementation builder that operates around a
StrategyRegistry , implementing a
version of the Gang of Four Strategy pattern.
The constructed service is configured with a number of adapters (that implement the same service
interface). Method invocations on the service are routed to one of the adapters.
The first parameter of each method is used to select the appropriate adapter.
The ideal interface for use with this builder has only one method.
|