File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interface.Factory.newInstance() ?

 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of the DataBinding framework(JAXB / XMLBeans) objects are created like Interface.Factory.newInstance(). I would lik eto know the reason for creating the newInstance thru Factory ?
 
kri shan
Ranch Hand
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any input ?
 
Paul Clapham
Sheriff
Pie
Posts: 20181
25
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Factory_method_pattern
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic