org.objectweb.jotm.btp.roles
Class Node

java.lang.Object
  |
  +--org.objectweb.jotm.btp.axis.WebService
        |
        +--org.objectweb.jotm.btp.roles.Actor
              |
              +--org.objectweb.jotm.btp.roles.Superior
                    |
                    +--org.objectweb.jotm.btp.roles.Node
All Implemented Interfaces:
BtpResource

public class Node
extends Superior

Node object is an Inferior which is also a Superior. A Node object can be a Sub-Coordinator or a Sub-Composer, in the first case, the object is an Atomic Superior, and in the second case, the object is a Cohesive Superior.


Field Summary
 
Fields inherited from class org.objectweb.jotm.btp.axis.WebService
url_
 
Fields inherited from interface org.objectweb.jotm.btp.roles.BtpResource
VOTE_CANCELLED, VOTE_PREPARED, VOTE_WRONG_STATE
 
Constructor Summary
Node()
           
 
Method Summary
 String onMessage(String xml)
          main method of the web service.
 
Methods inherited from class org.objectweb.jotm.btp.roles.Superior
applicationMessage, applicationMessage, cancel, cancelled, confirm, confirmed, contextReply, contradiction, enrol, enrolled, fault, getInferiorsList, listTransactions, prepare, prepareInferiors, redirect, reportFault, reportUnknownTransaction, requestInferiorStatuses, requestStatus, resign, status
 
Methods inherited from class org.objectweb.jotm.btp.roles.Actor
getLastIncoming, getLastIncoming, getLastOutgoing, getLastOutgoing, getRecentIncoming, getRecentOutgoing, logger, logIncoming, logIncoming, logOutgoing, logOutgoing, messages
 
Methods inherited from class org.objectweb.jotm.btp.axis.WebService
buildURI, buildURI, getTransactionIdentifierFromUri, getUrl, getUrlFromUri, getWsddParameter, isLocalUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

onMessage

public String onMessage(String xml)
main method of the web service. The onMessage method is used with a message in parameter (xml message).

Specified by:
onMessage in class Superior
Parameters:
xml - the xml soap message
Returns:
the string representation of the xml soap message returned to the client application