{"provider_name":"Hatena Blog","blog_url":"https://daiyamamoto.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/iad_otomamay/","blog_title":"\u30ec\u30d9\u30eb\u30a8\u30f3\u30bf\u30fc\u5c71\u672c\u5927\u306e\u30d6\u30ed\u30b0","height":"190","image_url":null,"description":"\u30b9\u30bf\u30c6\u30a3\u30c3\u30afStatic\u5909\u6570\u30fb\u30e1\u30bd\u30c3\u30c9\u3078\u306e\u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3Static fields and methods make testing and reusing more difficult, but there are times where your only choice is to keep a static reference to the Injector. \u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30d5\u30a3\u30fc\u30eb\u30c9\u3068\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30c6\u30b9\u30c8\u3084\u518d\u5229\u7528\u3092\u3088\u308a\u96e3\u3057\u304f\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u552f\u4e00\u306e\u9078\u629e\u80a2\u304cInjector\u306e\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u53c2\u7167\u3092\u4fdd\u6301\u3059\u308b\u3053\u3068\u3067\u3042\u308b\u306a\u3089\u96e3\u3057\u3055\u306f\u66f4\u306b\u500d\u5897\u3067\u3059\u3002For these situations, Guice \u2026","categories":[],"published":"2007-03-19 00:00:05","width":"100%","provider_url":"https://hatena.blog","author_name":"iad_otomamay","title":" [\u7ffb\u8a33]Guice User's Guide \u25a028.\tStatic Injection ","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaiyamamoto.hatenablog.com%2Fentry%2F20070319%2Fp13\" title=\" [\u7ffb\u8a33]Guice User&#39;s Guide \u25a028.\tStatic Injection  - \u30ec\u30d9\u30eb\u30a8\u30f3\u30bf\u30fc\u5c71\u672c\u5927\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://daiyamamoto.hatenablog.com/entry/20070319/p13"}