[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: General BeanInfo annotation visitor helper?

scott.stark@jboss.org do-not-reply at jboss.com
Thu Mar 6 10:22:32 EST 2008


Its a graph with cycles, still has a simple graph style visitor pattern for a spanning tree. What I'm looking for is something like:


  | interface BeanInfoVisitor
  | {
  |    /** return true if the bean should be visited */
  |    boolean visit(BeanInfo bean);
  |    void visit(BeanInfo bean, ClassInfo info);
  |    void visit(BeanInfo bean, PropertyInfo info);
  |    void visit(BeanInfo bean, MethodInfo info);
  | }
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134600#4134600

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134600



More information about the jboss-dev-forums mailing list