nutz的Bean怎么注解为spring的Bean呢?
下面写法行不?
@IocBean(name = "test1EndHandler")
@AsSpringBean
public class Test1EndHandler implements NodeEventHandler {
@Override
public void enter(Node node, ProcessInstance processInstance, Context context) {
}
@Override
public void leave(Node node, ProcessInstance processInstance, Context context) {
}
}