use of com.canoo.dp.impl.client.ClientBeanBuilderImpl in project dolphin-platform by canoo.
the class AbstractDolphinBasedTest method createBeanManager.
protected BeanManager createBeanManager(final ClientModelStore clientModelStore, final BeanRepository beanRepository, final EventDispatcher dispatcher) {
final Converters converters = new Converters(beanRepository);
final PresentationModelBuilderFactory builderFactory = new ClientPresentationModelBuilderFactory(clientModelStore);
final ClassRepository classRepository = new ClassRepositoryImpl(clientModelStore, converters, builderFactory);
final ListMapper listMapper = new ListMapperImpl(clientModelStore, classRepository, beanRepository, builderFactory, dispatcher);
final BeanBuilder beanBuilder = new ClientBeanBuilderImpl(classRepository, beanRepository, listMapper, builderFactory, dispatcher);
return new BeanManagerImpl(beanRepository, beanBuilder);
}
Aggregations