Search in sources :

Example 1 with ClientPresentationModelBuilderFactory

use of com.canoo.dp.impl.client.ClientPresentationModelBuilderFactory 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);
}
Also used : BeanBuilder(com.canoo.dp.impl.remoting.BeanBuilder) ClientPresentationModelBuilderFactory(com.canoo.dp.impl.client.ClientPresentationModelBuilderFactory) PresentationModelBuilderFactory(com.canoo.dp.impl.remoting.PresentationModelBuilderFactory) ClientPresentationModelBuilderFactory(com.canoo.dp.impl.client.ClientPresentationModelBuilderFactory) BeanManagerImpl(com.canoo.dp.impl.remoting.BeanManagerImpl) ListMapper(com.canoo.dp.impl.remoting.ListMapper) ListMapperImpl(com.canoo.dp.impl.remoting.collections.ListMapperImpl) ClassRepository(com.canoo.dp.impl.remoting.ClassRepository) ClassRepositoryImpl(com.canoo.dp.impl.remoting.ClassRepositoryImpl) Converters(com.canoo.dp.impl.remoting.Converters) ClientBeanBuilderImpl(com.canoo.dp.impl.client.ClientBeanBuilderImpl)

Aggregations

ClientBeanBuilderImpl (com.canoo.dp.impl.client.ClientBeanBuilderImpl)1 ClientPresentationModelBuilderFactory (com.canoo.dp.impl.client.ClientPresentationModelBuilderFactory)1 BeanBuilder (com.canoo.dp.impl.remoting.BeanBuilder)1 BeanManagerImpl (com.canoo.dp.impl.remoting.BeanManagerImpl)1 ClassRepository (com.canoo.dp.impl.remoting.ClassRepository)1 ClassRepositoryImpl (com.canoo.dp.impl.remoting.ClassRepositoryImpl)1 Converters (com.canoo.dp.impl.remoting.Converters)1 ListMapper (com.canoo.dp.impl.remoting.ListMapper)1 PresentationModelBuilderFactory (com.canoo.dp.impl.remoting.PresentationModelBuilderFactory)1 ListMapperImpl (com.canoo.dp.impl.remoting.collections.ListMapperImpl)1