org.apache.sandesha2.workers
Class InOrderInvoker

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.apache.sandesha2.workers.InOrderInvoker
All Implemented Interfaces:
java.lang.Runnable

public class InOrderInvoker
extends java.lang.Thread

This is used when InOrder invocation is required. This is a seperated Thread that keep running all the time. At each iteration it checks the InvokerTable to find weather there are any messages to me invoked.

Author:
Chamikara Jayalath

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
InOrderInvoker()
           
 
Method Summary
 boolean isInvokerStarted()
           
 void run()
           
 void runInvokerForTheSequence(org.apache.axis2.context.ConfigurationContext context, java.lang.String sequenceID)
           
 void setConfugurationContext(org.apache.axis2.context.ConfigurationContext context)
           
 void stopInvokerForTheSequence(java.lang.String sequenceID)
           
 void stopInvoking()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InOrderInvoker

public InOrderInvoker()
Method Detail

stopInvokerForTheSequence

public void stopInvokerForTheSequence(java.lang.String sequenceID)

stopInvoking

public void stopInvoking()

isInvokerStarted

public boolean isInvokerStarted()

setConfugurationContext

public void setConfugurationContext(org.apache.axis2.context.ConfigurationContext context)

runInvokerForTheSequence

public void runInvokerForTheSequence(org.apache.axis2.context.ConfigurationContext context,
                                     java.lang.String sequenceID)

run

public void run()


Copyright © 2005-2006 Apache Web Services. All Rights Reserved.