{"id":4520,"date":"2014-03-30T13:11:50","date_gmt":"2014-03-30T13:11:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-robot-legs-problem-collection-of-common-programming-errors\/"},"modified":"2014-03-30T13:11:50","modified_gmt":"2014-03-30T13:11:50","slug":"problem-about-robot-legs-problem-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-robot-legs-problem-collection-of-common-programming-errors\/","title":{"rendered":"problem about robot-legs-problem-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/71a257df94db5d04b4f2ec6e1ecc45f7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJeff Axelrod<br \/>\njava dependency-injection inversion-of-control guice robot-legs-problem<br \/>\nDo I need to create a new module with the Interface bound to a different implementation?Chef newChef = Guice.createInjector(Stage.DEVELOPMENT, new Module() {@Overridepublic void configure(Binder binder) {binder.bind(FortuneService.class).to(FortuneServiceImpl.class);}}).getInstance(Chef.class);Chef newChef2 = Guice.createInjector(Stage.DEVELOPMENT, new Module() {@Overridepublic void configure(Binder binder) {binder.bind(FortuneService.class).to(FortuneServiceImpl2.class);}}).getInstance(Chef.cla<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jeff Axelrod java dependency-injection inversion-of-control guice robot-legs-problem Do I need to create a new module with the Interface bound to a different implementation?Chef newChef = Guice.createInjector(Stage.DEVELOPMENT, new Module() {@Overridepublic void configure(Binder binder) {binder.bind(FortuneService.class).to(FortuneServiceImpl.class);}}).getInstance(Chef.class);Chef newChef2 = Guice.createInjector(Stage.DEVELOPMENT, new Module() {@Overridepublic void configure(Binder binder) {binder.bind(FortuneService.class).to(FortuneServiceImpl2.class);}}).getInstance(Chef.cla Web site is in building<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4520","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4520"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4520\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}