org.objectweb.jotm.btp.roles
Class Participant
java.lang.Object
|
+--org.objectweb.jotm.btp.axis.WebService
|
+--org.objectweb.jotm.btp.roles.Actor
|
+--org.objectweb.jotm.btp.roles.Inferior
|
+--org.objectweb.jotm.btp.roles.Participant
- All Implemented Interfaces:
- BtpResource
- Direct Known Subclasses:
- SampleWebService
- public class Participant
- extends Inferior
A Participant is an Inferior. It receives messages from application
and works with its superior.
Fields inherited from class org.objectweb.jotm.btp.axis.WebService |
url_ |
Methods inherited from class org.objectweb.jotm.btp.roles.Inferior |
applicationMessage, cancel, confirm, contradiction, deregisterResource, doEnrol, enrolled, getResource, isEnrolled, onApplicationMessage, onCancel, onConfirm, onConfirmOnePhase, onContext, onPrepare, onRelatedGroup, onRequestStatus, onSuperiorState, prepare, registerResource, reportFault, unknownMessage |
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 |
Participant
public Participant()
onMessage
public String onMessage(String xml)
- main method of the Participant Web service. It receives a xml soap
message and returns an other xml soap message.
- Specified by:
onMessage
in class Inferior
- Parameters:
xml
- the received xml soap message, the method dispatchs
following the type of the message
- Returns:
- returns a xml soap message