<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tamata78</author_name>
  <author_url>https://blog.hatena.ne.jp/tamata78/</author_url>
  <blog_title>気軽に楽しくプログラムと遊ぶ</blog_title>
  <blog_url>https://tamata78.hatenablog.com/</blog_url>
  <categories>
    <anon>kotlin</anon>
  </categories>
  <description>Bean定義の利用方法 Bean定義すると、Springのアプリケーションコンテキストにそのメソッドの戻り値が登録される。この登録されたオブジェクトは、Springの管理下に置かれた「Bean」として利用可能になる。 定義例 @Bean fun testAPI(): TestAPI = TestAPI() .info( Info().version(&quot;1.1&quot;) .title(&quot;API&quot;) .description(&quot;test API&quot;), ) 利用方法 1. DI（依存性注入）による利用 @Autowiredやコンストラクタインジェクションを使用して、他のクラスで利用できる。 @Servic…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamata78.hatenablog.com%2Fentry%2F2025%2F08%2F13%2F144614&quot; title=&quot;Spring Bean定義について - 気軽に楽しくプログラムと遊ぶ&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>2025-08-13 14:46:14</published>
  <title>Spring Bean定義について</title>
  <type>rich</type>
  <url>https://tamata78.hatenablog.com/entry/2025/08/13/144614</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
