opensubscriber
   Find in this group all groups
 
Unknown more information…

u : users@avalon.apache.org 12 November 2004 • 8:56PM -0500

Service configuration
by Felipe Castro - M4U

REPLY TO AUTHOR
 
REPLY TO GROUP






Hello,

I'm just begining with avalon-merlin and I'm really stuck with a service configuration problem. I know merlin is being discontinued but I'm just trying to learn the basics for now.

I have a container myContainer that exports a service myService and a consumer container (myConsumerContainer) that declares some components wich depend on myService. Is it possible to modify the configuration _of myService_ from the myConsumerContainer block.xml for each dependent component?

As far as I now, I could write a "target" directive under the "include" of myContainer and override the default configuration of myService. That's ok but it raises a problem if more than one component depends on myService, each of them needing myService to be configured in a specific way.

Maybe I shouldn't use the service approach if a different configuration is needed for each consumer component?

Thanks for any info

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.