{"id":1264,"date":"2021-05-18T01:21:13","date_gmt":"2021-05-17T16:21:13","guid":{"rendered":"http:\/\/blog.box.kr\/?p=1264"},"modified":"2021-05-18T01:21:16","modified_gmt":"2021-05-17T16:21:16","slug":"%ec%8b%b1%ea%b8%80%ed%86%a4singleton-%ed%81%b4%eb%9e%98%ec%8a%a4","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=1264","title":{"rendered":"\uc2f1\uae00\ud1a4(Singleton) \ud074\ub798\uc2a4"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>class Singleton {\r\n  static final Singleton _instance = Singleton._internal();\r\n\r\n  factory Singleton() {\r\n    return _instance;\r\n  }\r\n\r\n  Singleton._internal() { \/\/\ud074\ub798\uc2a4\uac00 \ucd5c\ucd08 \uc0dd\uc131\ub420\ub54c 1\ud68c \ubc1c\uc0dd\r\n    \/\/\ucd08\uae30\ud654 \ucf54\ub4dc    \r\n  }\r\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[41],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-ko","jetpack-related-posts":[{"id":124,"url":"https:\/\/blog.box.kr\/?p=124","url_meta":{"origin":1264,"position":0},"title":"Spring Framework + Akka Actor + Maven \uc0ac\uc6a9\ud558\uae30","date":"2014-06-23","format":false,"excerpt":"Spring Framework + Akka Actor + Maven \uc0ac\uc6a9\ud558\uae30 \uac1c\ubc1c \uc911\uc5d0 \uc694\uccad\uc5d0 \ub300\ud55c \ub85c\uadf8\ub97c \ub0a8\uae30\ub294 \ubd80\ubd84\uc774 \uc788\ub294\ub370 \ub85c\uac70\ub97c \uc0ac\uc6a9\ud558\uae30\uc5d0 \ubd80\uc871\ud55c \ubd80\ubd84\uc774 \uc788\uace0 async\ub85c \ucc98\ub9ac\ud574\uc57c \ud558\ub294 \ubd80\ubd84\uc774 \uc0dd\uaca8 akka actor\ub97c \uc0ac\uc6a9\ud558\uc5ec \uad6c\ud604\ud558\uac8c \ub418\uc5c8\ub2e4. akka.io \uc0ac\uc774\ud2b8\uc758 \uba54\ub274\uc5bc\uc744 \ud655\uc778\ud574\ubcf4\uba74.. Spring \uc5f0\uacc4 \uac1c\ubc1c\uc744\u00a01.3.1\uae4c\uc9c0\ub9cc \uc9c0\uc6d0\ud558\uace0 \uc788\uace0 \ub2e4\uc74c \ubc84\uc804\uc778\u00a02.0.5\uc5d0\uc11c\ub294 \uc544\uc9c1 \ub9c8\uc774\uadf8\ub808\uc774\uc158\uc774 \uc548\ub418\uc5c8\ub2e4\ub294 \uba54\uc138\uc9c0\uac00 \ub098\uc640 \uc788\ub2e4. \uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":364,"url":"https:\/\/blog.box.kr\/?p=364","url_meta":{"origin":1264,"position":1},"title":"[\ud38c]\uac1d\uccb4\uc9c0\ud5a5+\ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 Scala","date":"2014-09-15","format":false,"excerpt":"\uac1d\uccb4\uc9c0\ud5a5+\ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 Scala \uc2a4\uce7c\ub77c(Scala)\ub294 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4\uc774\uba74\uc11c \ub3d9\uc2dc\uc5d0 \ud568\uc218 \uc5b8\uc5b4\uc774\ub2e4. \uc2a4\uce7c\ub77c\ub294 \uc790\ubc14\uc640 \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc790\ubc14\uac00\uc0c1\uba38\uc2e0(JVM) \uc704\uc5d0\uc11c \uc2e4\ud589\ub418\uba70 \uae30\uc874 \uc790\ubc14 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uadf8\ub300\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. \ubc18\ub300\ub85c \uc790\ubc14\ub85c \uc791\uc131\ub41c \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc2a4\uce7c\ub77c\ub85c \uc791\uc131\ub41c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\ub2e4. \ub2e4\ub978 JVML(JVM \uc5b8\uc5b4)\uc778 JRuby, Jython\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc2a4\uce7c\ub77c\ub294 \uc790\ubc14\uc758 \ud55c\uacc4\ub97c \uadf9\ubcf5\ud558\uae30 \uc704\ud574 \ucd9c\ud604\ud588\ub2e4. \ud2b9\ud788, \uc774\ubbf8 \uc124\uacc4\ub41c \ucef4\ud3ec\ub10c\ud2b8 \ub2e8\uc704\uc758\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"http:\/\/cfs14.tistory.com\/image\/18\/tistory\/2008\/12\/01\/00\/11\/4932ad2c8146f","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/1264"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1264"}],"version-history":[{"count":1,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/1264\/revisions"}],"predecessor-version":[{"id":1265,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/1264\/revisions\/1265"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}