From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001 From: dims Date: Tue, 17 Jun 2008 00:23:01 +0000 Subject: Move Tuscany from Incubator to top level. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/work/WorkScheduler.html | 260 +++++++++++++++++++++ 1 file changed, 260 insertions(+) create mode 100644 site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/work/WorkScheduler.html (limited to 'site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/work/WorkScheduler.html') diff --git a/site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/work/WorkScheduler.html b/site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/work/WorkScheduler.html new file mode 100644 index 0000000000..28e11c7be1 --- /dev/null +++ b/site/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/work/WorkScheduler.html @@ -0,0 +1,260 @@ + + + + + + +WorkScheduler + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.work +
+Interface WorkScheduler

+
+
+
public interface WorkScheduler
+ + +

+Defines the contract for scheduling asychronous units of work. + +

+ Units of work can be scheduled with an optional NotificationListener. + If a notification listener is specified, the caller will be notified regarding the + status of the work. The unit of work can either be completed, rejected or completed + with an error. If the work completed with an error, the caller is notfied with the + error details. +

+

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T extends java.lang.Runnable> +
+void
+
scheduleWork(T work) + +
+          Schedules a unit of work for future execution.
+ + + + + +
+<T extends java.lang.Runnable> +
+void
+
scheduleWork(T work, + NotificationListener<T> listener) + +
+          Schedules a unit of work for future execution.
+  +

+ + + + + + + + +
+Method Detail
+ +

+scheduleWork

+
+<T extends java.lang.Runnable> void scheduleWork(T work,
+                                                 NotificationListener<T> listener)
+
+
Schedules a unit of work for future execution. The notification listener + is used to register interest in callbacks regarding the status of the work. +

+

+
Parameters:
work - The unit of work that needs to be asynchronously executed.
listener - Notification listener for callbacks.
+
+
+
+ +

+scheduleWork

+
+<T extends java.lang.Runnable> void scheduleWork(T work)
+
+
Schedules a unit of work for future execution. The notification listener + is used to register interest in callbacks regarding the status of the work. +

+

+
Parameters:
work - The unit of work that needs to be asynchronously executed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3