It miss only Spring IoC integration.
Your presentation contains topic "Pluggable IoC provider", but when it
will be available?
I can fall back to Location Pattern and call spring's
ApplicationContext.getBean for all dependencies from web layer
classes, but it is really painful and big step back...
I do not have a definite time line since its a "future" feature...that
said I will hopefully have a chance to look at it in Mar, and your
interest in it gives me more motivation to look at it.
As a fallback, it may be possible to already do it fairly easily by
writing a single factory class. In other words for each model you
define the respective interface in the <class> directive but refer to
a single factory implementation in <factory-class>. The idea is that
the createModel() method of the factory class you write can request
injection of the Config.ModelDefs.ModelDef class, this object contains
the class name you specified in the <class> directive for the model
for which the factory is being called. Just and idea if you care to
explore, and see if it works out.
Thanks again for taking the time to leave a comment.
Adi