support a new method:
template <class T> T getBean(......) to AppContext. So, instead of doing:
A* bean = (A*)ctxt->getBean("myBean", "A");
one can do:
A* bean = ctxt->getBean<A*>("myBean");
---
minor engine change (tested already)
minor code generation change (tested already).
document change needed.
Original issue reported on code.google.com by kjin...@gmail.com on 31 Mar 2010 at 5:11
Original issue reported on code.google.com by
kjin...@gmail.com
on 31 Mar 2010 at 5:11