module discovery

Topics: Web Client Software Factory
Nov 29, 2006 at 12:39 AM
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.