<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>NetPenguin</author_name>
  <author_url>https://blog.hatena.ne.jp/NetPenguin/</author_url>
  <blog_title>NetPenguinの日記</blog_title>
  <blog_url>https://netpenguin.hatenadiary.org/</blog_url>
  <categories>
    <anon>JAVA</anon>
  </categories>
  <description>Javaでのメモリリークの原因としてありがちなのが、イベントリスナとして登録しっぱなしになっていて解放されないというのがあります。 class View implements HogeListener { public View( Model model ) { model.addHogeListener( listener ); } ... } class Model { public void addHogeListener( HogeListener listener ) { ... } ... } public class Main { public static void main(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnetpenguin.hatenadiary.org%2Fentry%2F20040707%2F1089163572&quot; title=&quot;イベントリスナ - NetPenguinの日記&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>2004-07-07 10:26:12</published>
  <title>イベントリスナ</title>
  <type>rich</type>
  <url>https://netpenguin.hatenadiary.org/entry/20040707/1089163572</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
