tag:blogger.com,1999:blog-3237724005744642470.post8449843600936488471..comments2020-11-17T09:20:38.485+00:00Comments on Captain Debug's Blog: Looking into the Magic of Dependency Injection Using Annotations - Part 4Roger Hugheshttp://www.blogger.com/profile/07042290171112551665[email protected]Blogger4125tag:blogger.com,1999:blog-3237724005744642470.post-15737180714167477222011-10-13T23:39:52.389+01:002011-10-13T23:39:52.389+01:00Yes, it was obviously borrowed from Spring. I did ...Yes, it was obviously borrowed from Spring. I did some research and discovered that @Component is equivalent to @Named in JSR-330 (and @Autowired=@Inject). It seems that you are a good part of the way toward a JSR-330 implementation. Care to take it any further?Craig Doremushttps://www.blogger.com/profile/00535992598101816089[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-504570728124844362011-10-13T20:09:33.372+01:002011-10-13T20:09:33.372+01:00Both are shamelessly pinched from Spring.
@MyAuto...Both are shamelessly pinched from Spring.<br /><br />@MyAutoWire -> @Autowired<br />@MyComponent -> @Component<br /><br />@Component marks an object as a Spring object.Roger Hugheshttps://www.blogger.com/profile/07042290171112551665[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-65049262149694999822011-10-13T20:04:24.116+01:002011-10-13T20:04:24.116+01:00With respect to JSR-330, it appears that @MyAutoWi...With respect to JSR-330, it appears that @MyAutoWire is equivalent to @Inject. What is @MyComponent equivalent to?Craig Doremushttps://www.blogger.com/profile/00535992598101816089[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-57649304933955561722011-10-13T20:04:00.697+01:002011-10-13T20:04:00.697+01:00With respect to JSR-330, it appears that @MyAutoWi...With respect to JSR-330, it appears that @MyAutoWire is equivalent to @Inject. What is @MyComponent equivalent to?Craig Doremushttps://www.blogger.com/profile/00535992598101816089[email protected]