{"author_url":"https://blog.hatena.ne.jp/sardine/","image_url":null,"provider_name":"Hatena Blog","url":"https://www.toyfish.blog/entry/20111009/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.toyfish.blog%2Fentry%2F20111009%2Fp1\" title=\" Java: AutoCloseable \u3067 MDC \u3092\u7ba1\u7406\u3059\u308b - toyfish.blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_url":"https://hatena.blog","published":"2011-10-09 00:00:00","version":"1.0","categories":["prog"],"title":" Java: AutoCloseable \u3067 MDC \u3092\u7ba1\u7406\u3059\u308b","blog_url":"https://www.toyfish.blog/","author_name":"sardine","width":"100%","description":"Java 7 \u3067\u306f\u3001\u5165\u51fa\u529b\u30b9\u30c8\u30ea\u30fc\u30e0\u3084DB\u63a5\u7d9a\u306e\u30af\u30ed\u30fc\u30ba\u3092\u7c21\u5358\u30fb\u78ba\u5b9f\u306b\u884c\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u3001ARM (Automatic Resource Management) \u304c\u8ffd\u52a0\u3055\u308c\u305f\u3002\u5143\u30cd\u30bf\u306f C# \u306e using \u30d6\u30ed\u30c3\u30af\u3068 IDisposable \u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3067\u3001Java \u72ec\u81ea\u306e\u65b0\u767a\u660e\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u3044\u3093\u3060\u3051\u3069\u3001\u3053\u308c\u3067\u4eca\u5f8c\u306f\u540c\u3058\u3088\u3046\u306a finally \u30d6\u30ed\u30c3\u30af\u3092\u5927\u91cf\u751f\u7523\u3057\u306a\u304f\u3066\u3088\u304f\u306a\u3063\u305f\u3002 \u3053\u308c\u3092\u3001Log4j \u306e MDC \u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u4f7f\u3063\u3066\u307f\u305f\u3089\u3069\u3046\u306a\u308b\u304b\u3002","type":"rich","blog_title":"toyfish.blog"}