{"action":"opened","issue":{"url":"https://api.github.com/repos/MySixGod/SpringImpl_v2.0/issues/1","repository_url":"https://api.github.com/repos/MySixGod/SpringImpl_v2.0","labels_url":"https://api.github.com/repos/MySixGod/SpringImpl_v2.0/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MySixGod/SpringImpl_v2.0/issues/1/comments","events_url":"https://api.github.com/repos/MySixGod/SpringImpl_v2.0/issues/1/events","html_url":"https://github.com/MySixGod/SpringImpl_v2.0/issues/1","id":269455936,"number":1,"title":"如何实现bean创建顺序的问题.","user":{"login":"chenshun00","id":26037282,"avatar_url":"https://avatars0.githubusercontent.com/u/26037282?v=4","gravatar_id":"","url":"https://api.github.com/users/chenshun00","html_url":"https://github.com/chenshun00","followers_url":"https://api.github.com/users/chenshun00/followers","following_url":"https://api.github.com/users/chenshun00/following{/other_user}","gists_url":"https://api.github.com/users/chenshun00/gists{/gist_id}","starred_url":"https://api.github.com/users/chenshun00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenshun00/subscriptions","organizations_url":"https://api.github.com/users/chenshun00/orgs","repos_url":"https://api.github.com/users/chenshun00/repos","events_url":"https://api.github.com/users/chenshun00/events{/privacy}","received_events_url":"https://api.github.com/users/chenshun00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-30T01:12:51Z","updated_at":"2017-10-30T01:12:51Z","closed_at":null,"author_association":"NONE","body":"是不是可以先直接将所有添加了注解(Service,controller,Component等等)的 `bean` 实例化，添加到IOC容器之后，在依次向容器中的每一个bean进行注入.这样就解决了依赖关系的问题。好理解也好实现.\r\n如下：\r\n```java\r\n          List<BeanDefine> beanDefines = ioc.getBeanDefines();\r\n            if (null != beanDefines) {\r\n                //为每一个需要注入的bean注入对象\r\n                beanDefines.forEach(b -> IocKit.injection(ioc, b));\r\n            }\r\n```"}}
{"actor":{"display_login":"chenshun00"}}