You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Salil Gaitonde <sa...@yahoo.com> on 2000/03/27 16:19:49 UTC

init parameters?

Is there a way to get at the init
parameters (defined in properties files)
in producers/processors/formatters?

Thanks,
Salil

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Re: init parameters?

Posted by Stefano Mazzocchi <st...@apache.org>.
Salil Gaitonde wrote:
> 
> Is there a way to get at the init
> parameters (defined in properties files)
> in producers/processors/formatters?

make your component implement Configurable and use the configuration
class that is given to you. For more examples, look at the code.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------