use of org.eclipse.scout.rt.platform.SimpleBeanDecorationFactory in project scout.rt by eclipse.
the class PlatformImplementor method initBeanDecorationFactory.
protected void initBeanDecorationFactory() {
if (m_beanManager.getBeanDecorationFactory() != null) {
return;
}
IBean<IBeanDecorationFactory> bean = m_beanManager.optBean(IBeanDecorationFactory.class);
if (bean != null) {
m_beanManager.setBeanDecorationFactory(bean.getInstance());
return;
}
LOG.warn("Using {}. Please verify that this application really has no client or server side {}", SimpleBeanDecorationFactory.class.getName(), IBeanDecorationFactory.class.getSimpleName());
m_beanManager.setBeanDecorationFactory(new SimpleBeanDecorationFactory());
}
Aggregations