com.wm.app.b2b.server
Class ServiceThread

java.lang.Object
  extended by com.wm.app.b2b.server.ServiceThread
All Implemented Interfaces:
java.lang.Runnable

public class ServiceThread
extends java.lang.Object
implements java.lang.Runnable

Contains methods that return the pipeline from a service running in this service thread. Service.doThreadInvoke() invokes a service in a background thread and returns immediately. The service continues to run in that background thread. This thread is an instance of the ServiceThread class. To join this thread and get the results of the service invocation, you call the getIData() method, which returns the pipeline of the service running in this thread when that service is completed.


Constructor Summary
ServiceThread()
          Do not instantiate this class directly.
 
Method Summary
static Values getData()
          Deprecated.  
static IData getIData()
          Returns the pipeline from the service running in this service thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

ServiceThread

public ServiceThread()
Do not instantiate this class directly. It will be returned by Service.doThreadInvoke() instead.

Method Detail

getData

public static Values getData()
Deprecated. 

Returns the pipeline from the service running in this service thread. If the service has not completed, this method will block until the service is done.


getIData

public static IData getIData()
Returns the pipeline from the service running in this service thread. If the service has not completed, this method will block until the service is done.