You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Joshua Oransky <ca...@gmail.com> on 2008/12/30 17:18:53 UTC
Programmatically Triggering Replication
How exactly can I programmatically trigger replication on a node on
CRX?
I see the com.day.crx.replication.Replicator class, but I don't know
what to use as the configuration in its constructor. I figure it's a
mix of the getSyndicators() and the replicate() methods, but I need to
get access to the service first.
Any help is appreciated!
-Josh
Re: Programmatically Triggering Replication
Posted by Tobias Bocanegra <tr...@day.com>.
hi josh,
this is not quite the correct place to ask this question :-)
however, take a look at the browser/content.jsp in crx how to do it.
regards, toby
On 12/30/08, Joshua Oransky <ca...@gmail.com> wrote:
> How exactly can I programmatically trigger replication on a node on
> CRX?
>
> I see the com.day.crx.replication.Replicator class,
> but I don't know what to use as the configuration in its constructor. I
> figure it's a mix of the getSyndicators() and the replicate() methods, but I
> need to get access to the service first.
>
> Any help is appreciated!
>
> -Josh
>