ãDIãããï¼ãã¤ã³ã¸ã§ã¯ã·ã§ã³ï¼æ³¨å ¥ï¼ãããââæ°ããæè¡ã«ææãªã½ããã¦ã¨ã¢éçºè ãã¡ã®éã§ä½¿ããã¦ããè¨èã§ãããDIã¨ã¯ï¼ã軽éã³ã³ããããå®ç¾ããæ°ããè¨è¨ææ³Dependency Injectionï¼ä¾åæ§æ³¨å ¥ï¼ã®ç¥ç§°ã§ãããåãæ¦å¿µãIoCï¼Inversion of Controlï¼å¶å¾¡ã®å転ï¼ã¨å¼ã¶å ´åãããï¼è©³ç´°ã¯å¾è¿°ï¼ããDIãããã¨è¨ãã°éçºè ã®éã§ã¯éç¨ãããããã«ï¼ãã®è¨è¨ææ³ã¯æ³¨ç®ããã¦ããã®ã ã DIã注ç®ãããçç±ã¯ç°¡åã ãã½ããã¦ã¨ã¢éçºè ã®éçºãµã¤ã¯ã«ãå¤§å¹ ã«æ¹åããããã ãçè ãå¸ä¼ãæ å½ããã軽éã³ã³ãããã«é¢ããããã«ã»ãã£ã¹ã«ãã·ã§ã³ï¼æ³¨1ï¼ã§ã¯ï¼DIãé©ç¨ãã軽éã³ã³ãããSpring Frameworkãã®ãããã§ãç¡ç æéã確ä¿ã§ããããã«ãªãã¾ãããã¨è¤æ°ã®ãããªã¹ããçé¡ã§ã³ã¡ã³ãããã»ã©ã§ãããDIã¯ï¼ããã ãæå¹ãªæè¡ãªã®ã ã 注1
{{#tags}}- {{label}}
{{/tags}}