[jboss-user] [jBPM] - TaskService 's implemenation

wqe wqe do-not-reply at jboss.com
Wed Aug 29 03:52:13 EDT 2012


wqe wqe [https://community.jboss.org/people/drupalspring] created the discussion

"TaskService 's implemenation"

To view the discussion, visit: https://community.jboss.org/message/756661#756661

--------------------------------------------------------------
TaskService interface has 2 implementation , one is called LocalTaskService class and one is called SyncTaskServiceWrapper class.

In the *SyncTaskServiceWrapper* class , it contains an instance of another interface called *AsyncTaskService* . 

All methods of the SyncTaskServiceWrapper that are specified by the TaskService interface will be delegated to AsyncTaskService .

 So SyncTaskServiceWrapper works asynchronously or synchronously?? It is confusing when looking at the name of the class .

Should SyncTaskServiceWrapper is better rename to AsyncTaskServiceWraper as it wraps AsyncTaskService ?? *
*
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/756661#756661]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120829/e95e11a1/attachment.html 


More information about the jboss-user mailing list