[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-132 todo?

adrian@jboss.org do-not-reply at jboss.com
Thu Dec 21 07:55:41 EST 2006


Rather than using

  | public MyType(String) { ... }
  | 

It should first check for a static method

  | public static MyType valueOf(String) { ... }
  | 

In fact, I'd like to remove to use of the constructor since it will be incorrect
in some circumstances.

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

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



More information about the jboss-dev-forums mailing list