com.servingxml.components.service
Class RunService2

java.lang.Object
  extended by com.servingxml.components.task.AbstractTask
      extended by com.servingxml.components.service.RunService2
All Implemented Interfaces:
Stringable, Task

public class RunService2
extends AbstractTask
implements Task

The RunService2 class implements the action of running a service.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.servingxml.components.string.Stringable
Stringable.EmptyStringable
 
Field Summary
 
Fields inherited from interface com.servingxml.components.string.Stringable
EMPTY, EMPTY_ARRAY
 
Constructor Summary
RunService2(Service service, StreamSourceFactory sourceFactory, StreamSinkFactory sinkFactory)
           
 
Method Summary
 void execute(ServiceContext context, Flow flow)
           
 
Methods inherited from class com.servingxml.components.task.AbstractTask
createString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.servingxml.components.string.Stringable
createString
 

Constructor Detail

RunService2

public RunService2(Service service,
                   StreamSourceFactory sourceFactory,
                   StreamSinkFactory sinkFactory)
Method Detail

execute

public void execute(ServiceContext context,
                    Flow flow)
Specified by:
execute in interface Task