<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dodosu</author_name>
  <author_url>https://blog.hatena.ne.jp/dodosu/</author_url>
  <blog_title>okinawa</blog_title>
  <blog_url>https://dodosu.hatenablog.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Factoryパターン Adapterパターン メリット 運用方法 参考 Factoryパターン インスタンスの生成をFactoryクラスに集約することで、変更に強くなる。 生産拠点を一つの工場に集中するっちゅうことですね。 Factory methodパターンとはいちおう別物。 ・複数クラスが直接クラスBのコンストラクタを呼ぶ場合 コンストラクタ呼び出し クラスA →→→→→→→→→→→→ クラスB クラスC →→→→→→→→→→→→ クラスB クラスD →→→→→→→→→→→→ クラスB // これだとクラスBのコンストラクタを変更するとACDも変更必要。 ・ファクトリがコンストラクタを呼…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdodosu.hatenablog.jp%2Fentry%2F2022%2F04%2F21%2F223516&quot; title=&quot;デザインパターン - okinawa&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>https://cdn-ak.f.st-hatena.com/images/fotolife/d/dodosu/20220422/20220422145154.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-04-21 22:35:16</published>
  <title>デザインパターン</title>
  <type>rich</type>
  <url>https://dodosu.hatenablog.jp/entry/2022/04/21/223516</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
