Is there a way to add components to the ServiceManager of another component which aren't specified in the dependencies? Example scenario:
<component name="html-handler" class="my.package.HtmlHandler"/>
<component name="plain-text-handler" class="my.package.PlainTextHandler"/>
<component class="my.package.DataHandler">
<dependencies>
<dependency key="plain-text" source="plain-text-handler"/>
<dependency key="html" source="html-handler"/>
</dependencies>
<configuration>
<handlers>
<handler>
<mime-type>text/html</mime-type>
<service>html</service>
</handler>
<handler>
<mime-type>text/plain</mime-type>
<service>plain-text</service>
</handler>
</handlers>
</configuration>
</component>The problem here is that because the DataHandler component doesn't specify the dependencies 'plain-text' and 'html', Merlin simply ignores these dependency declarations. How can I solve such a problem without having to change the xinfo for the dispatcher (DataHandler) for each new handler I'd like to add?
I'm using Merlin 3.2.4.
TIA, Raffi
-- Neu im Usenet? Fragen? -> http://www.use-net.ch/usenet_intro_de.html
Raffael Herzog - [EMAIL PROTECTED] - www.raffael.ch - ICQ #67961355
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
