Me again,
my assumptions where right and everything is working
as supposed....I didn't copied the new compiled component to the
correct location and was using an old version...
You know...it's not my day...:)
Thanks to all...
On Wed, 2003-10-22 at 14:30, Rui Alberto L. Gonçalves wrote:
> Hi all,
> I'm trying to write my own generator, but I can't
> figure out where messages logged with getLogger().debug(msg)
> are actually logged!!
>
> Another question. Having ..
> public class MyGenerator
> extends ServiceableGenerator
> implements Parameterizable {
>
> ....
>
> }
>
> Implementing interface
> org.apache.avalon.framework.parameters.Parameterizable the method
> parametrize(...) is invoked when the component is first initialized,
> right?
> The method setup( ... ) defined in interface
> SitemapModelComponent is invoked each time the component is
> requested?
> Some parameters to my component are fixed, but others change
> each time the component is requested. Is this the correct way
> of doing things?
>
> My sitemap:
>
> <map:generator logger="sitemap.generator.request" name="requestg"
> pool-grow="4" pool-max="32" pool-min="8"
> src="cava.generators.MyGenerator">
> <parameter name="backend-host" value="127.0.0.1"/>
> <parameter name="backend-port" value="5050"/>
> </map:generator>
>
> Component initialization is done correctly
>
> <map:match pattern="teste-*">
> <map:generate type="requestg">
> <map:parameter name="param1" value="{1}"/>
> </map:generate>
> ...
> </map:match>
> The setup of the compoenent is never done!
>
> Many thanks to all,
>
> Rui Alberto
>
>
>
>
>
--
Rui Alberto L. Gonçalves <[EMAIL PROTECTED]>
PT Inovação
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]