JiphuTzu / pococapsule

Automatically exported from code.google.com/p/pococapsule
0 stars 0 forks source link

support factories return var and/or ref types #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
see:
http://groups.google.com/group/pococapsule/browse_thread/thread/5e31a5e3c619f35b

Original issue reported on code.google.com by kjin...@gmail.com on 4 Mar 2009 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by kjin...@gmail.com on 4 Mar 2009 at 9:18

GoogleCodeExporter commented 9 years ago
1. vars should be supported using holders.
2. when used as factory-bean, factory method on smart pointer vars should be 
called
through the -> operator defined on the smart pointer class.
3. when pass by "deref", "*" operator defined on the var class should be used.

Original comment by kjin...@gmail.com on 4 Mar 2009 at 9:22

GoogleCodeExporter commented 9 years ago
The current proxy generator (mainly inside the ProxyGen.java) is a result of 
quick
and dirty implementation which is volnerable to non-trivial changes necessary to
support the required enhancement listed in this issue. Therefore, the plan is to
re-implement the proxy generator in a more structure design in a later release 
after
1.2 and address this bug case on top of that implementation.

Original comment by kjin...@gmail.com on 1 Apr 2010 at 4:44