{"action":"created","issue":{"url":"https://api.github.com/repos/czm1290433700/min-blog/issues/43","repository_url":"https://api.github.com/repos/czm1290433700/min-blog","labels_url":"https://api.github.com/repos/czm1290433700/min-blog/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/czm1290433700/min-blog/issues/43/comments","events_url":"https://api.github.com/repos/czm1290433700/min-blog/issues/43/events","html_url":"https://github.com/czm1290433700/min-blog/issues/43","id":362905326,"node_id":"MDU6SXNzdWUzNjI5MDUzMjY=","number":43,"title":"spring学习笔记(三)----spring bean","user":{"login":"czm1290433700","id":42865103,"node_id":"MDQ6VXNlcjQyODY1MTAz","avatar_url":"https://avatars0.githubusercontent.com/u/42865103?v=4","gravatar_id":"","url":"https://api.github.com/users/czm1290433700","html_url":"https://github.com/czm1290433700","followers_url":"https://api.github.com/users/czm1290433700/followers","following_url":"https://api.github.com/users/czm1290433700/following{/other_user}","gists_url":"https://api.github.com/users/czm1290433700/gists{/gist_id}","starred_url":"https://api.github.com/users/czm1290433700/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czm1290433700/subscriptions","organizations_url":"https://api.github.com/users/czm1290433700/orgs","repos_url":"https://api.github.com/users/czm1290433700/repos","events_url":"https://api.github.com/users/czm1290433700/events{/privacy}","received_events_url":"https://api.github.com/users/czm1290433700/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-23T01:44:28Z","updated_at":"2018-09-23T01:45:11Z","closed_at":"2018-09-23T01:45:11Z","author_association":"OWNER","body":"### **bean 的属性**\r\n属性 | 描述\r\n-- | --\r\nclass | 这个属性是强制性的，并且指定用来创建 bean 的 bean 类。\r\nname | 这个属性指定唯一的 bean 标识符。在基于 XML 的配置元数据中，你可以使用 ID 和/或 name 属性来指定 bean 标识符。\r\nscope | 这个属性指定由特定的 bean 定义创建的对象的作用域，它将会在 bean 作用域的章节中进行讨论。\r\nconstructor-arg | 它是用来注入依赖关系的，并会在接下来的章节中进行讨论。\r\nproperties | 它是用来注入依赖关系的，并会在接下来的章节中进行讨论。\r\nautowiring mode | 它是用来注入依赖关系的，并会在接下来的章节中进行讨论。\r\nlazy-initialization mode | 延迟初始化的 bean 告诉 IoC 容器在它第一次被请求时，而不是在启动时去创建一个 bean 实例。\r\ninitialization 方法 | 在 bean 的所有必需的属性被容器设置之后，调用回调方法。它将会在 bean 的生命周期章节中进行讨论。\r\ndestruction 方法 | 当包含该 bean 的容器被销毁时，使用回调方法。它将会在 bean 的生命周期章节中进行讨论。\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/czm1290433700/min-blog/issues/comments/423785455","html_url":"https://github.com/czm1290433700/min-blog/issues/43#issuecomment-423785455","issue_url":"https://api.github.com/repos/czm1290433700/min-blog/issues/43","id":423785455,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzc4NTQ1NQ==","user":{"login":"czm1290433700","id":42865103,"node_id":"MDQ6VXNlcjQyODY1MTAz","avatar_url":"https://avatars0.githubusercontent.com/u/42865103?v=4","gravatar_id":"","url":"https://api.github.com/users/czm1290433700","html_url":"https://github.com/czm1290433700","followers_url":"https://api.github.com/users/czm1290433700/followers","following_url":"https://api.github.com/users/czm1290433700/following{/other_user}","gists_url":"https://api.github.com/users/czm1290433700/gists{/gist_id}","starred_url":"https://api.github.com/users/czm1290433700/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czm1290433700/subscriptions","organizations_url":"https://api.github.com/users/czm1290433700/orgs","repos_url":"https://api.github.com/users/czm1290433700/repos","events_url":"https://api.github.com/users/czm1290433700/events{/privacy}","received_events_url":"https://api.github.com/users/czm1290433700/received_events","type":"User","site_admin":false},"created_at":"2018-09-23T01:45:11Z","updated_at":"2018-09-23T01:45:11Z","author_association":"OWNER","body":"> \r\n> ### **bean 的属性**\r\n> 属性 \t描述\r\n> class \t这个属性是强制性的，并且指定用来创建 bean 的 bean 类。\r\n> name \t这个属性指定唯一的 bean 标识符。在基于 XML 的配置元数据中，你可以使用 ID 和/或 name 属性来指定 bean 标识符。\r\n> scope \t这个属性指定由特定的 bean 定义创建的对象的作用域，它将会在 bean 作用域的章节中进行讨论。\r\n> constructor-arg \t它是用来注入依赖关系的，并会在接下来的章节中进行讨论。\r\n> properties \t它是用来注入依赖关系的，并会在接下来的章节中进行讨论。\r\n> autowiring mode \t它是用来注入依赖关系的，并会在接下来的章节中进行讨论。\r\n> lazy-initialization mode \t延迟初始化的 bean 告诉 IoC 容器在它第一次被请求时，而不是在启动时去创建一个 bean 实例。\r\n> initialization 方法 \t在 bean 的所有必需的属性被容器设置之后，调用回调方法。它将会在 bean 的生命周期章节中进行讨论。\r\n> destruction 方法 \t当包含该 bean 的容器被销毁时，使用回调方法。它将会在 bean 的生命周期章节中进行讨论。\r\n\r\n"}}
{"actor":{"display_login":"czm1290433700"}}