Author: hiranya
Date: Tue Oct 5 17:14:16 2010
New Revision: 1004717
URL: http://svn.apache.org/viewvc?rev=1004717&view=rev
Log:
Documentation update
Modified:
synapse/branches/2.0/src/site/xdoc/Synapse_Configuration_Language.xml
synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml
Modified: synapse/branches/2.0/src/site/xdoc/Synapse_Configuration_Language.xml
URL:
http://svn.apache.org/viewvc/synapse/branches/2.0/src/site/xdoc/Synapse_Configuration_Language.xml?rev=1004717&r1=1004716&r2=1004717&view=diff
==============================================================================
--- synapse/branches/2.0/src/site/xdoc/Synapse_Configuration_Language.xml
(original)
+++ synapse/branches/2.0/src/site/xdoc/Synapse_Configuration_Language.xml Tue
Oct 5 17:14:16 2010
@@ -260,7 +260,7 @@
</h3>
<p>
A Task is a custom Java class that implements the
- org.apache.synapse.startup.Task interface that defines a single "public
+ org.apache.synapse.task.Task interface that defines a single "public
void execute()" method. Such a task can be scheduled and managed via the
Synapse ESB. The scheduling information for a task can be specified in
the
cron format or a simple format by the user. A task may also be specified
@@ -1017,7 +1017,7 @@ where "sequence/dynamic_seq_1.xml" refer
<p>
A task is created and scheduled to run at specified time intervals or as
specified by the cron expression. The Task class specifies the actual
task
- implementation class (which must implement
org.apache.synapse.startup.Task
+ implementation class (which must implement org.apache.synapse.task.Task
interface) to be executed at the specified interval/s, and name specifies
an identifier for the scheduled task.
</p>
Modified: synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml
URL:
http://svn.apache.org/viewvc/synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml?rev=1004717&r1=1004716&r2=1004717&view=diff
==============================================================================
--- synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml (original)
+++ synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml Tue Oct 5 17:14:16
2010
@@ -3064,7 +3064,7 @@ it will first try to read the content ty
intervals. You could limit the number of times that you want to run this
task by adding a count
attribute with an integer as the value, if the count is not present as in
this sample this task
will run until the server is shutdown.</p>
-<p>One can write his/her own task class implementing the
org.apache.synapse.startup.Task interface and
+<p>One can write his/her own task class implementing the
org.apache.synapse.task.Task interface and
implementing the execute method to run the necessary logic. For this
particular sample we have used the
MessageInjector class which just injects a message specified into Synapse
environment. </p>