cgl.narada.wsinfra.deployment.axis
Class AxisMessageInjector

java.lang.Object
  extended by java.lang.Thread
      extended by cgl.narada.wsinfra.deployment.axis.AxisMessageInjector
All Implemented Interfaces:
Runnable

public class AxisMessageInjector
extends Thread

This class runs thread. It accepts messages into a linklist. When a new message arrives, the thread is notified to send message to the destination.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AxisMessageInjector()
           
 
Method Summary
 void addObjectToList(Object obj)
          Adds message into the queue
 Object getFirstObjectFromList()
          return fisrt message from the queue
 org.apache.axis.client.Call getServiceCall(String serviceURL, String soapActionURI)
          Creates a Call instance and returns it
 String getServiceURL()
           
 String getSoapActionURI()
           
 void run()
          Thread's run method
 void sendSOAPMessage(SOAPMessage soapMessage)
          sends a message which is received fro queue.
 void setServiceURL(String serviceURL)
          Setters and getters to reach class variables
 void setSoapActionURI(String soapActionURI)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

AxisMessageInjector

public AxisMessageInjector()
Method Detail

addObjectToList

public void addObjectToList(Object obj)
Adds message into the queue


getFirstObjectFromList

public Object getFirstObjectFromList()
return fisrt message from the queue


setServiceURL

public void setServiceURL(String serviceURL)
Setters and getters to reach class variables


getServiceURL

public String getServiceURL()

setSoapActionURI

public void setSoapActionURI(String soapActionURI)

getSoapActionURI

public String getSoapActionURI()

getServiceCall

public org.apache.axis.client.Call getServiceCall(String serviceURL,
                                                  String soapActionURI)
Creates a Call instance and returns it


sendSOAPMessage

public void sendSOAPMessage(SOAPMessage soapMessage)
sends a message which is received fro queue. This method is invoked from run method of thread


run

public void run()
Thread's run method

Specified by:
run in interface Runnable
Overrides:
run in class Thread


For comments and suggestions please send e-mail to The NaradaBrokering Project