public class JRMITSHandler extends TSHandler
Modifier and Type | Field and Description |
---|---|
protected org.objectweb.jonathan.presentation.api.MarshallerFactory |
mf
The marshaller factory parameter used to encode/decode contexts.
|
receiver, sender, service_id
Constructor and Description |
---|
JRMITSHandler(int service_id,
Sender sender,
Receiver receiver,
org.objectweb.jonathan.presentation.api.MarshallerFactory marshaller_factory)
Builds a new Jeremie transaction service handler instance.
|
JRMITSHandler(Sender sender,
Receiver receiver,
org.objectweb.jonathan.presentation.api.MarshallerFactory marshaller_factory)
Builds a new Jeremie transaction service handler instance.
|
Modifier and Type | Method and Description |
---|---|
protected PropagationContext |
decodeContext(ServiceContext sc)
Decodes a Transaction Service propagation context from an IOP service
context.
|
protected ServiceContext |
encodeContext(PropagationContext ctx)
Encodes a Transaction Service propagation context into an IOP service
context.
|
getReplyContext, getRequestContext, handleReplyContext, handleRequestContext, identify_receiver, identify_sender
protected org.objectweb.jonathan.presentation.api.MarshallerFactory mf
public JRMITSHandler(int service_id, Sender sender, Receiver receiver, org.objectweb.jonathan.presentation.api.MarshallerFactory marshaller_factory) throws org.objectweb.jonathan.apis.kernel.JonathanException
service_id
;protected ServiceContext encodeContext(PropagationContext ctx)
encodeContext
in class TSHandler
ctx
- the propagation context to be encoded.protected PropagationContext decodeContext(ServiceContext sc)
decodeContext
in class TSHandler
ctx
- the IOP service context containing the encoded propagation
context.