In fact, it should do it automatically based on Monomorphism. i.e. Only one class in the registry implements org.jboss.kernel.Kernel so it would just be a case of doing:
| @Inject // Uses monomorphic injection - no need for the name | public void setKernel(Kernel kernel) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872411#3872411 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872411 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
