<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higayasuo</author_name>
  <author_url>https://blog.hatena.ne.jp/higayasuo/</author_url>
  <blog_title>ひがやすを技術ブログ</blog_title>
  <blog_url>https://higayasuo.hatenablog.com/</blog_url>
  <categories>
    <anon>Seasar</anon>
  </categories>
  <description>これまで、あるコンポーネントが複数のコンポーネントを必要としたとき､addXxx(Xxx xxx)みたいなメソッドを作って､initMethodタグで追加していました。 ただ実際に開発していると､対象となるクラスを追加するたびに､diconファイルを修正する必要があり､めんどくさく思ってました。修正し忘れだとかもあるし。なによりも開発中に設定ファイルを書く量が増えていくってSeasarらしくない!!! それで、setterメソッドの引数が配列で、配列の要素がインターフェースの場合､自動的にそのインターフェースを実装しているコンポーネントをDIするようにします。例えば､ public void …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigayasuo.hatenablog.com%2Fentry%2F20060626%2F1151291388&quot; title=&quot;setterインジェクションの配列サポート - ひがやすを技術ブログ&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>2006-06-26 12:09:48</published>
  <title>setterインジェクションの配列サポート</title>
  <type>rich</type>
  <url>https://higayasuo.hatenablog.com/entry/20060626/1151291388</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
