{"id":938,"date":"2022-10-25T18:04:38","date_gmt":"2022-09-11T23:27:19","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/"},"modified":"2025-08-01T03:41:31","modified_gmt":"2025-07-31T18:41:31","slug":"%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/","title":{"rendered":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7"},"content":{"rendered":"<p>Spring Bean\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001Bean\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u751f\u6210\u3092\u3088\u308a\u8a73\u7d30\u306b\u5236\u5fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001Bean\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u3068\u3057\u3066\u4f5c\u6210\u3057\u305f\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u4ed6\u306e\u5834\u5408\u3067\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3054\u3068\u306b\u4f5c\u6210\u3057\u305f\u308a\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u5185\u3067\u4e00\u5ea6\u3060\u3051\u4f5c\u6210\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7<\/h2>\n<p>\u4ee5\u4e0b\u306b\u306f5\u3064\u306e\u7a2e\u985e\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3 &#8211; \u30b9\u30d7\u30ea\u30f3\u30b0\u30b3\u30f3\u30c6\u30ca\u3067\u30b9\u30d7\u30ea\u30f3\u30b0\u30d3\u30fc\u30f3\u306e\u552f\u4e00\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u3067\u3059\u3002\u3053\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u30d3\u30fc\u30f3\u306b\u5171\u6709\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u304c\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3046\u3067\u306a\u3044\u3068\u3001\u30c7\u30fc\u30bf\u306e\u4e00\u8cab\u6027\u306e\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7 &#8211; \u30b9\u30d7\u30ea\u30f3\u30b0\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u30d3\u30fc\u30f3\u304c\u8981\u6c42\u3055\u308c\u308b\u305f\u3073\u306b\u3001\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8 &#8211; \u3053\u308c\u306f\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b9\u30b3\u30fc\u30d7\u3068\u540c\u3058\u3067\u3059\u304c\u3001\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3054\u3068\u306b\u65b0\u3057\u3044\u30d3\u30fc\u30f3\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3 &#8211; \u30b3\u30f3\u30c6\u30ca\u306b\u3088\u3063\u3066HTTP\u30bb\u30c3\u30b7\u30e7\u30f3\u3054\u3068\u306b\u65b0\u3057\u3044\u30d3\u30fc\u30f3\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3 &#8211; \u30dd\u30fc\u30c8\u30ec\u30c3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7528\u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u30d3\u30fc\u30f3\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u306b\u306f\u3001\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30b9\u30b3\u30fc\u30d7\u3068\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30b9\u30b3\u30fc\u30d7\u306e2\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002 (Supuringu no biin ni wa, shinguruton sukoopu to purototaipu sukoopu no futatsu no opushon ga arimasu.)<\/h2>\n<p>Spring\u306eBean\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u3068\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306e\u30b9\u30b3\u30fc\u30d7\u306f\u3001\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u306eSpring\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002@Scope\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u308c\u3089\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u7c21\u5358\u306b\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002 Java\u306eBean\u30af\u30e9\u30b9\u304c\u3042\u308b\u3068\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\npublic class MyBean {\r\n\r\n\tpublic MyBean() {\r\n\t\tSystem.out.println(\"MyBean instance created\");\r\n\t}\r\n\r\n}\r\n<\/code><\/pre>\n<p>\u300c\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30b3\u30f3\u30c6\u30ca\u304b\u3089MyBean\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d6\u5f97\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u3001\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u8a2d\u5b9a\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3057\u307e\u3057\u3087\u3046\u3002\u300d<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport org.springframework.context.annotation.Bean;\r\nimport org.springframework.context.annotation.Configuration;\r\nimport org.springframework.context.annotation.Scope;\r\n\r\n@Configuration\r\npublic class MyConfiguration {\r\n\t\r\n\t@Bean\r\n\t@Scope(value=\"singleton\")\r\n    public MyBean myBean() {\r\n\t\treturn new MyBean();\r\n\t}\r\n\t\r\n}\r\n<\/code><\/pre>\n<p>\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30b3\u30fc\u30d7\u3067\u3059\u306e\u3067\u3001\u4e0a\u8a18\u306e\u30d3\u30fc\u30f3\u5b9a\u7fa9\u304b\u3089 @Scope(value=&#8221;singleton&#8221;) \u3092\u524a\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3055\u3066\u3001\u30e1\u30a4\u30f3\u30e1\u30bd\u30c3\u30c9\u3092\u4f5c\u6210\u3057\u3066\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport org.springframework.context.annotation.AnnotationConfigApplicationContext;\r\n\r\npublic class MySpringApp {\r\n\r\n\tpublic static void main(String[] args) {\r\n\t\tAnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();\r\n\t\tctx.register(MyConfiguration.class);\r\n\t\tctx.refresh();\r\n\r\n\t\t MyBean mb1 = ctx.getBean(MyBean.class);\r\n\t\t System.out.println(mb1.hashCode());\r\n\r\n\t\t MyBean mb2 = ctx.getBean(MyBean.class);\r\n\t\t System.out.println(mb2.hashCode());\r\n\r\n\t\tctx.close();\r\n\t}\r\n\r\n}\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>MyBean instance created\r\n867988177\r\n867988177\r\n<\/code><\/pre>\n<p>\u4e21\u65b9\u306eMyBean\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u540c\u3058\u30cf\u30c3\u30b7\u30e5\u30b3\u30fc\u30c9\u3092\u6301\u3063\u3066\u304a\u308a\u3001\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u304c\u4e00\u5ea6\u306e\u307f\u547c\u3073\u51fa\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f\u3001Spring\u30b3\u30f3\u30c6\u30ca\u304c\u5e38\u306b\u540c\u3058MyBean\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8fd4\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002\u3055\u3066\u3001\u30b9\u30b3\u30fc\u30d7\u3092\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306b\u5909\u66f4\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>@Bean\r\n@Scope(value=\"prototype\")\r\npublic MyBean myBean() {\r\n\treturn new MyBean();\r\n}\r\n<\/code><\/pre>\n<p>\u30e1\u30a4\u30f3\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3001\u6b21\u306e\u51fa\u529b\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>MyBean instance created\r\n867988177\r\nMyBean instance created\r\n443934570\r\n<\/code><\/pre>\n<p>\u6bce\u56deSpring\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u8981\u6c42\u3055\u308c\u308b\u305f\u3073\u306bMyBean\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306f\u660e\u3089\u304b\u3067\u3059\u3002\u3055\u3066\u3001\u4eca\u5ea6\u306f\u30b9\u30b3\u30fc\u30d7\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>@Bean\r\n@Scope(value=\"request\")\r\npublic MyBean myBean() {\r\n\treturn new MyBean();\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u306e\u5834\u5408\u3001\u6b21\u306e\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>Exception in thread \"main\" java.lang.IllegalStateException: No Scope registered for scope name 'request'\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:347)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:224)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1015)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:339)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:334)\r\n\tat org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1107)\r\n\tat com.scdev.spring.MySpringApp.main(MySpringApp.java:12)\r\n<\/code><\/pre>\n<p>\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u30b9\u30b3\u30fc\u30d7\u304c\u5229\u7528\u3067\u304d\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/p>\n<h2>\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30b9\u30b3\u30fc\u30d7\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u30b9\u30b3\u30fc\u30d7<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a19ddaa94e2bdf7c2e5d\/23-1.png\" alt=\"spring bean scopes spring boot web app project\" \/><\/div>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;project xmlns=\"https:\/\/maven.apache.org\/POM\/4.0.0\" xmlns:xsi=\"https:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n\txsi:schemaLocation=\"https:\/\/maven.apache.org\/POM\/4.0.0 https:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd\"&gt;\r\n\t&lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n\r\n\t&lt;groupId&gt;com.scdev.spring&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;Spring-Boot-MVC&lt;\/artifactId&gt;\r\n\t&lt;version&gt;0.0.1-SNAPSHOT&lt;\/version&gt;\r\n\t&lt;packaging&gt;war&lt;\/packaging&gt;\r\n\r\n\t&lt;name&gt;Spring-Boot-MVC&lt;\/name&gt;\r\n\t&lt;description&gt;Spring Beans Scope MVC&lt;\/description&gt;\r\n\r\n\t&lt;parent&gt;\r\n\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t&lt;artifactId&gt;spring-boot-starter-parent&lt;\/artifactId&gt;\r\n\t\t&lt;version&gt;2.0.2.RELEASE&lt;\/version&gt;\r\n\t\t&lt;relativePath\/&gt; &lt;!-- lookup parent from repository --&gt;\r\n\t&lt;\/parent&gt;\r\n\r\n\t&lt;properties&gt;\r\n\t\t&lt;project.build.sourceEncoding&gt;UTF-8&lt;\/project.build.sourceEncoding&gt;\r\n\t\t&lt;project.reporting.outputEncoding&gt;UTF-8&lt;\/project.reporting.outputEncoding&gt;\r\n\t\t&lt;java.version&gt;10&lt;\/java.version&gt;\r\n\t&lt;\/properties&gt;\r\n\r\n\t&lt;dependencies&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-boot-starter-web&lt;\/artifactId&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-boot-starter-tomcat&lt;\/artifactId&gt;\r\n\t\t\t&lt;scope&gt;provided&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-boot-starter-test&lt;\/artifactId&gt;\r\n\t\t\t&lt;scope&gt;test&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t&lt;\/dependencies&gt;\r\n\r\n\t&lt;build&gt;\r\n\t\t&lt;plugins&gt;\r\n\t\t\t&lt;plugin&gt;\r\n\t\t\t\t&lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n\t\t\t\t&lt;artifactId&gt;spring-boot-maven-plugin&lt;\/artifactId&gt;\r\n\t\t\t&lt;\/plugin&gt;\r\n\t\t&lt;\/plugins&gt;\r\n\t&lt;\/build&gt;\r\n\r\n\r\n&lt;\/project&gt;\r\n<\/code><\/pre>\n<p>\u300c\u6625\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u30b9\u30b3\u30fc\u30d7\u3067Spring\u30d3\u30fc\u30f3\u3068\u3057\u3066Spring\u30b3\u30f3\u30c6\u30ca\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002\u300d<\/p>\n<h3>\u30b9\u30d7\u30ea\u30f3\u30b0\u30d3\u30fc\u30f3\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30b9\u30b3\u30fc\u30d7<\/h3>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport org.springframework.context.annotation.Scope;\r\nimport org.springframework.context.annotation.ScopedProxyMode;\r\nimport org.springframework.stereotype.Component;\r\n\r\n@Component\r\n@Scope(value = \"request\", proxyMode = ScopedProxyMode.TARGET_CLASS)\r\npublic class DataRequestScope {\r\n\r\n\tprivate String name = \"Request Scope\";\r\n\t\r\n\tpublic DataRequestScope() {\r\n\t\tSystem.out.println(\"DataRequestScope Constructor Called\");\r\n\t}\r\n\r\n\tpublic String getName() {\r\n\t\treturn name;\r\n\t}\r\n\r\n\tpublic void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}\r\n}\r\n<\/code><\/pre>\n<h3>\u6625\u306e\u30d3\u30fc\u30f3\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u30b9\u30b3\u30fc\u30d7<\/h3>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport org.springframework.context.annotation.Scope;\r\nimport java.time.LocalDateTime;\r\nimport org.springframework.context.annotation.ScopedProxyMode;\r\nimport org.springframework.stereotype.Component;\r\n\r\n@Component\r\n@Scope(value = \"session\", proxyMode = ScopedProxyMode.TARGET_CLASS)\r\npublic class DataSessionScope {\r\n\r\n\tprivate String name = \"Session Scope\";\r\n\t\r\n\tpublic DataSessionScope() {\r\n\t\tSystem.out.println(\"DataSessionScope Constructor Called at \"+LocalDateTime.now());\r\n\t}\r\n\r\n\tpublic String getName() {\r\n\t\treturn name;\r\n\t}\r\n\r\n\tpublic void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}\r\n}\r\n<\/code><\/pre>\n<h3>\u30b9\u30d7\u30ea\u30f3\u30b0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/h3>\n<p>\u3055\u3066\u3001\u6625\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3001\u6625\u3092\u4f7f\u7528\u3057\u3066\u4e0a\u8a18\u306ebean\u3092\u81ea\u52d5\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport org.springframework.beans.factory.annotation.Autowired;\r\nimport org.springframework.stereotype.Component;\r\n\r\n@Component\r\npublic class Customer {\r\n\r\n\t@Autowired\r\n\tprivate DataRequestScope dataRequestScope;\r\n\t\r\n\t@Autowired\r\n\tprivate DataSessionScope dataSessionScope;\r\n\r\n\tpublic DataRequestScope getDataRequestScope() {\r\n\t\treturn dataRequestScope;\r\n\t}\r\n\r\n\tpublic void setDataRequestScope(DataRequestScope dataRequestScope) {\r\n\t\tthis.dataRequestScope = dataRequestScope;\r\n\t}\r\n\r\n\tpublic DataSessionScope getDataSessionScope() {\r\n\t\treturn dataSessionScope;\r\n\t}\r\n\r\n\tpublic void setDataSessionScope(DataSessionScope dataSessionScope) {\r\n\t\tthis.dataSessionScope = dataSessionScope;\r\n\t}\r\n\r\n\r\n}\r\n<\/code><\/pre>\n<h3>\u6625\u306eRest\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9<\/h3>\n<p>\u6700\u5f8c\u306b\u3001RestController\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3001\u30c6\u30b9\u30c8\u306e\u76ee\u7684\u306e\u305f\u3081\u306b\u3044\u304f\u3064\u304b\u306eAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport org.springframework.beans.factory.annotation.Autowired;\r\nimport org.springframework.web.bind.annotation.RequestMapping;\r\nimport org.springframework.web.bind.annotation.RestController;\r\n\r\n@RestController\r\npublic class HelloData {\r\n\r\n\t@Autowired\r\n\tprivate Customer customer;\r\n\t\r\n\t@RequestMapping(\"\/nameRS\")\r\n\tpublic String helloRS() {\r\n\t\treturn customer.getDataRequestScope().getName();\r\n\t}\r\n\t\r\n\t@RequestMapping(\"\/nameSSUpdated\")\r\n\tpublic String helloSSUpdated() {\r\n\t\tcustomer.getDataSessionScope().setName(\"Session Scope Updated\");\r\n\t\treturn customer.getDataSessionScope().getName();\r\n\t}\r\n\t\r\n\t@RequestMapping(\"\/nameSS\")\r\n\tpublic String helloSS() {\r\n\t\treturn customer.getDataSessionScope().getName();\r\n\t}\r\n}\r\n<\/code><\/pre>\n<h3>\u30b9\u30d7\u30ea\u30f3\u30b0\u30d6\u30fc\u30c8\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u8a2d\u5b9a<\/h3>\n<p>\u6700\u5f8c\u306b\u3001Spring Boot\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002src\/main\/resources\/application.properties\u306b\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>server.session.cookie.max-age= 1\r\nserver.session.timeout= 1\r\n<\/code><\/pre>\n<p>\u4eca\u5f8c\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u30b9\u30b3\u30fc\u30d7\u3092\u6301\u3064\u79c1\u305f\u3061\u306eSpring Bean\u306f1\u5206\u3067\u7121\u52b9\u306b\u306a\u308a\u307e\u3059\u3002SpringBootMvcApplication\u30af\u30e9\u30b9\u3092\u30b9\u30d7\u30ea\u30f3\u30b0\u30d6\u30fc\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e0b\u8a18\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u69cb\u6210\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>2018-05-23 17:02:25.830  INFO 6921 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped \"{[\/nameRS]}\" onto public java.lang.String com.scdev.spring.HelloData.helloRS()\r\n2018-05-23 17:02:25.831  INFO 6921 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped \"{[\/nameSSUpdated]}\" onto public java.lang.String com.scdev.spring.HelloData.helloSSUpdated()\r\n2018-05-23 17:02:25.832  INFO 6921 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped \"{[\/nameSS]}\" onto public java.lang.String com.scdev.spring.HelloData.helloSS()\r\n<\/code><\/pre>\n<h3>\u30b9\u30d7\u30ea\u30f3\u30b0\u30fb\u30d3\u30fc\u30f3\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30b9\u30b3\u30fc\u30d7\u306e\u30c6\u30b9\u30c8<\/h3>\n<p>\u3069\u3093\u306a\u30d6\u30e9\u30a6\u30b6\u3067\u3082\u958b\u3044\u3066\u3001URL https:\/\/localhost:8080\/nameRS \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u51fa\u529b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30ea\u30af\u30a8\u30b9\u30c8\u3054\u3068\u306b\u300cDataRequestScope\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3057\u305f\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h3>\u6625\u306e\u30d3\u30fc\u30f3\u30bb\u30c3\u30b7\u30e7\u30f3\u30b9\u30b3\u30fc\u30d7\u306e\u30c6\u30b9\u30c8<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a19ddaa94e2bdf7c2e5d\/44-3.png\" alt=\"spring bean session scope\" \/><\/div>\n<p>\u5f53\u793e\u306eGitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u3001Spring Beans Scope Spring Boot\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Bean\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001Bean\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u751f\u6210\u3092\u3088\u308a\u8a73\u7d30\u306b\u5236\u5fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001Bean\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u3068\u3057\u3066\u4f5c\u6210\u3057\u305f\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u4ed6\u306e\u5834\u5408\u3067\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3054 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-938","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\" \/>\n<meta property=\"og:description\" content=\"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-11T23:27:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T18:41:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a19ddaa94e2bdf7c2e5d\/23-1.png\" \/>\n<meta name=\"author\" content=\"\u685c, \u6625\u6a39\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u685c, \u6625\u6a39\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"23\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/\",\"name\":\"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-09-11T23:27:19+00:00\",\"dateModified\":\"2025-07-31T18:41:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341\"},\"description\":\"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341\",\"name\":\"\u685c, \u6625\u6a39\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g\",\"caption\":\"\u685c, \u6625\u6a39\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/sakuraharuki\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7 - Blog - Silicon Cloud","description":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7","og_description":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-09-11T23:27:19+00:00","article_modified_time":"2025-07-31T18:41:31+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564a19ddaa94e2bdf7c2e5d\/23-1.png"}],"author":"\u685c, \u6625\u6a39","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u685c, \u6625\u6a39","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"23\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/","name":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-09-11T23:27:19+00:00","dateModified":"2025-07-31T18:41:31+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341"},"description":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30d3\u30fc\u30f3\u30b9\u30b3\u30fc\u30d7"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341","name":"\u685c, \u6625\u6a39","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g","caption":"\u685c, \u6625\u6a39"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/sakuraharuki\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%82%b9%e3%83%97%e3%83%aa%e3%83%b3%e3%82%b0%e3%81%ae%e3%83%93%e3%83%bc%e3%83%b3%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=938"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/938\/revisions"}],"predecessor-version":[{"id":46893,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/938\/revisions\/46893"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}