<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xmldtp</author_name>
  <author_url>https://blog.hatena.ne.jp/xmldtp/</author_url>
  <blog_title>ウィリアムのいたずらの、まちあるき、たべあるきーPART2</blog_title>
  <blog_url>https://xmldtp.hatenadiary.org/</blog_url>
  <categories>
    <anon>そのほか</anon>
  </categories>
  <description>DIとアスペクト指向は、似ているところもある。 どちらも、後から実体を注入することが出来る点だ。 DIは、「依存性の注入」なので、出来るのはもちろんだけど、 アスペクト指向でも、aroundとかを使うと、後からプログラムの実体を入れることが出来る。 しかし、決定的な違いがある。 DIは、実体を後から入れるが、構造は、前もってinterfaceで定義し、実体とインターフェースの関係を、設定ファイル（Springだとbean-conf.xml,Seasar2の場合diconファイル）で記述してしまう点だ。したがって、注入するクラスは、このインターフェースの構造に従う＝束縛される。 一方、アスペクト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxmldtp.hatenadiary.org%2Fentry%2F337f8a19303913fb9b51bde15fbc8248&quot; title=&quot;DIとアスペクト指向の共通点と相違点 - ウィリアムのいたずらの、まちあるき、たべあるきーPART2&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>2010-12-01 09:29:54</published>
  <title>DIとアスペクト指向の共通点と相違点</title>
  <type>rich</type>
  <url>https://xmldtp.hatenadiary.org/entry/337f8a19303913fb9b51bde15fbc8248</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
