FactoryPattern

From Wiki RB4
Revision as of 13:12, 2 February 2010 by UweHeuer (talk | contribs) (New page: =Factory Pattern= Instead of calling <code>new X()</code> in java code you use XFactory.get(), so you have a decoupling of the actual type, which is good for: * testing * different enviro...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Factory Pattern

Instead of calling new X() in java code you use XFactory.get(), so you have a decoupling of the actual type, which is good for:

  • testing
  • different environments