- protected LocalTransactionFactoryImpl factoryForShard(final String shardName, final ActorSelection shardLeader, final DataTree dataTree) {
- return new LocalTransactionFactoryImpl(getActorContext(), shardLeader, dataTree);
+ protected LocalTransactionFactoryImpl factoryForShard(final String shardName, final ActorSelection shardLeader,
+ final ReadOnlyDataTree dataTree) {
+ return new LocalTransactionFactoryImpl(getActorUtils(), shardLeader, dataTree);