org.objectweb.jotm.btp.roles
Class Decider
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.Decider
- All Implemented Interfaces:
- BtpResource
- public class Decider
- extends Superior
Decider object is a Superior object which is not an Inferior.
A Decider can be Atomic (Coordinator role) or Cohesive (Composer role).
Fields inherited from class org.objectweb.jotm.btp.axis.WebService |
url_ |
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 |
Decider
public Decider()
onMessage
public String onMessage(String xml)
- receives an xml message from a Client.
The onMessage methods is the main method from the Web Service.
The client uses this method to send messages (xml soap message).
- Specified by:
onMessage
in class Superior
- Parameters:
xml
- an xml soap message from a client
- Returns:
- an xml soap message in response