0
public class SpringHelloWorld extends com.itmill.toolkit.Application {
public void init() {
final Window main = new Window("Hello window");
setMainWindow(main);
SpringContextHelper helper = new SpringContextHelper(this);
MyBeanInterface bean = (MyBeanInterface)
helper.getBean("myBean");
main.addComponent(new Label(bean.myMethod()));
}
}
http://qastegiano.blogspot.com/2008/01/itmill-toolkit-5-spring.htmlЧто такое beanInterface здесь?
ли это пользовательский класс, или мы должны определить, что-то там.