module discovery

Topics: Web Client Software Factory
Nov 28, 2006 at 11:39 PM
I really like the new way that the modules get discovered. My question is that is it possible to add the service registration to the .modinfo schema? unlike the other initialization code in module creation that are individual service provider specific. The service registration is part of the compositeweb framework, and fairly immutable in nature(?). what are some of the pros and cons of doing that either way?

One pro I can think of is that it will allow you to dynamically replace a service without redeploy the entire module.