James, That sounds like an excellent idea. I also quite liked Howard's idea about streamlining the syntax (http://thread.gmane.org/gmane.comp.jakarta.hivemind.devel/2321/focus=2323). Maybe that could be combined with your idea. So maybe something like:
<service-point id="MyService" interface="com.myco.MyService"> <instance factory-id="HibernateSessionFactoryFactory"> <factory-params-according-to-schema /> </instance> <assembly autowire="false"> <inject property="myDao" value="service:MyDao" /> <inject property="myConfig" value="config:ConfigurationParameters" /> <listener service-id="MyEventSource" /> </assembly> </service-factory> What do you think? --knut --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]