HHH-8607 - Start Topical Guide - Service Registries

This commit is contained in:
Steve Ebersole 2013-10-15 16:00:32 -05:00
parent 67ee00a422
commit 11ce89e0ff
1 changed files with 2 additions and 2 deletions

View File

@ -396,8 +396,8 @@ If we were going to distribute our CORBATransactionFactory, we might develop a
public class CORBATransactionFactoryStrategyRegistrationProvider implements StrategyRegistrationProvider { public class CORBATransactionFactoryStrategyRegistrationProvider implements StrategyRegistrationProvider {
public Iterable<StrategyRegistration> getStrategyRegistrations() { public Iterable<StrategyRegistration> getStrategyRegistrations() {
return Collections.singletonList( return Collections.singletonList(
(StrategyRegistration) new SimpleStrategyRegistrationImpl<ConnectionProvider>( (StrategyRegistration) new SimpleStrategyRegistrationImpl<TransactionFactory>(
ConnectionProvider.class, TransactionFactory.class,
CORBATransactionFactory.class, CORBATransactionFactory.class,
"corba" "corba"
) )