I had a short look into how to integrate the JSR-330 and I fear it is not possible to make the intergation inside a 3rd-party library. You have to make some changes inside tapestry-ioc when you implement the integration. These are simple examples I realized after trying to run the tck of the JSR-330:
- javax.inject.Inject may be applied to static members. - in tapestry-ioc only public constructors can be used for injection, in JSR-330 not. - in tck I saw a line of code in which an interface is downcasted to its implementation. This will not work with tapestry-ioc because of the proxies. With these few examples it is obvious that the integration requires some ioc patches if you want to pass the tck. -- Best regards, Igor Drobiazko http://tapestry5.de/blog
