<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moznion</author_name>
  <author_url>https://blog.hatena.ne.jp/moznion/</author_url>
  <blog_title>その手の平は尻もつかめるさ</blog_title>
  <blog_url>https://moznion.hatenadiary.com/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>これを見ると良い．要は CDI のようなものをやるという話である． CustomScopes · google/guice Wiki · GitHub ここに書かれているように，1. 任意の Scope を表す annotation を作る 2. Scope を実装する 3. Scope の実装と annotation を紐付ける (これは Module 内で行なう) 4. Scope#enter() と Scope#exit() で Scope のライフサイクルを管理するという流れに従う． ここで少し難しく感じるのは2の「Scope を実装する」だと思う． Wiki に書いてあるように基本的…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoznion.hatenadiary.com%2Fentry%2F2016%2F08%2F17%2F014147&quot; title=&quot;Guice で独自の scope 切って inject したいって時 - その手の平は尻もつかめるさ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-08-17 01:41:47</published>
  <title>Guice で独自の scope 切って inject したいって時</title>
  <type>rich</type>
  <url>https://moznion.hatenadiary.com/entry/2016/08/17/014147</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
