Inversion of Responsibility
Encyclopedia : I : IN : INV : Inversion of Responsibility
In OO design we typically design from top(abstract) to down(concrete) and the dependency flow from top to bottom. In other words abstract classes depend on concrete classes.By refactoring we can change the dependency flow from concrete to abstract.This is termed as inversion of dependency or Responsibility.
Simple Java example
public class InversionOfResponsibility
public void println(java.io.PrintStream printStream)
public static void main( String[] args )
}
NOTE: This article is probably referring to the concept of Inversion of Control, as it is more commonly known [link].
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
