use of org.eclipse.scout.rt.platform.IBeanManager in project scout.rt by eclipse.
the class RegisterBeanStatement method evaluate.
@Override
public void evaluate() throws Throwable {
final IBeanManager beanManager = Platform.get().getBeanManager();
final IBean bean = beanManager.registerBean(m_beanMetaData);
try {
m_next.evaluate();
} finally {
beanManager.unregisterBean(bean);
}
}
Aggregations