HHH-8607 - Start Topical Guide - Service Registries
This commit is contained in:
parent
67ee00a422
commit
11ce89e0ff
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue