tommysiu / beanio

Automatically exported from code.google.com/p/beanio
Apache License 2.0
0 stars 0 forks source link

Add support for creating beans using a factory method #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Something like factory="com.example.Example#newInstance", where newInstance() 
is a static method on the Example class.

Original issue reported on code.google.com by kevin.s...@gmail.com on 15 Jun 2013 at 6:38

GoogleCodeExporter commented 8 years ago
BTW: Fully pluggable bean creation would be great (same as property access).
I've created a feature to build classes on the fly if they are not available, 
but had to replace StreamCompiler and work with *Config obects because bean 
creation is not pluggable.

Original comment by tiv...@gmail.com on 9 Jan 2014 at 3:26