<alias name="ormService.Transfer" alias="ormService"/>
<alias name="ormAdapter.Transfer" alias="ormAdapter"/>
Or, to use Reactor, add these lines instead:
<alias name="ormAdapter.Transfer" alias="ormAdapter"/>
<alias name="ormService.Reactor" alias="ormService"/>
<alias name="ormAdapter.Reactor" alias="ormAdapter"/>
MG:U has built-in adapters for both Reactor and Transfer now and default declarations for both ORM's factories (as the ormService.* beans above). Of course, you can easily override any of these if you need (for example, we have the Transfer factory in our parent bean factory and define our ormService to be a proxy to the Transfer factory so that all our MG:U applications share a single factory object).<alias name="ormAdapter.Reactor" alias="ormAdapter"/>

3 responses so far ↓
1 Mark Mandel // Jan 8, 2007 at 11:00 PM
(Did I use enough 'very's?)
Much kudos to Joe, Sean and everyone else who is involved with MG:U, this is really neat that Transfer is all hooked up.
Way to go guys.
Maybe sometime soon I'll actually take some time off writing code for Transfer and actually play with MG:U ;D
2 Robb // Jan 10, 2007 at 12:52 PM
3 Sean Corfield // Jan 10, 2007 at 2:27 PM
Leave a Comment