You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Grzegorz Goliatus Tańczyk <go...@warsztat.pac.pl> on 2004/03/06 08:55:53 UTC
Re[2]: how does CronJob/test work
Witaj Reinhard,
W Twoim liście datowanym 5 marca 2004 (17:51:02) można przeczytać:
RP> have a look at cocoon.xconf .
RP> As jobs are Avalon components they need a role name so that you can look
RP> up them.
And why it is called like
this(org.apache.cocoon.components.cron.CronJob/test)?
Is it any convention?
--
Pozdrowienia,
Grzegorz mailto:goliatus@warsztat.pac.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
AW: Re[2]: how does CronJob/test work
Posted by Marco Rolappe <m_...@web.de>.
hi grzegorz,
org.apache.cocoon.components.cron.CronJob/test is a combination of role name
and hint.
a role name identifies a work interface (think Java interfaces). if there
are several components available to be used for the role/interface a hint is
used to select one of them.
just think of sitemap components, e.g. generators. all generator components
(FileGenerator, RequestGenerator, ...) implement the work interface
org.apache.cocoon.generation.Generator and have/implement Generator's role.
in the sitemap you declare several components for that role and also name
them, e.g. 'file' for FileGenerator. that name is later used as the hint to
select the specific generator.
> -----Ursprüngliche Nachricht-----
> Von: users-return-64155-m_rolappe=web.de@cocoon.apache.org
> [mailto:users-return-64155-m_rolappe=web.de@cocoon.apache.org]Im
> Auftrag von Grzegorz Goliatus Tańczyk
> Gesendet: Samstag, 6. März 2004 08:56
> An: Reinhard Pötz
> Betreff: Re[2]: how does CronJob/test work
>
>
> Witaj Reinhard,
>
> W Twoim liście datowanym 5 marca 2004 (17:51:02) można przeczytać:
> RP> have a look at cocoon.xconf .
> RP> As jobs are Avalon components they need a role name so that
> you can look
> RP> up them.
>
> And why it is called like
> this(org.apache.cocoon.components.cron.CronJob/test)?
>
> Is it any convention?
>
> --
> Pozdrowienia,
> Grzegorz mailto:goliatus@warsztat.pac.pl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org