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.
Fields inherited from class org.objectweb.jotm.btp.axis.WebService |
url_ |
Constructor Summary |
Node()
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Node
public Node()
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