|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.david.libs.services.CosTransactions.handler.TSHandler
org.objectweb.jeremie.libs.services.CosTransactions.handler.JRMITSHandler
Provides an implementation of a CORBA COS Transaction service handler that conforms to the CosTSPortability module but that uses Java specific (i.e., non CORBA) means of encoding and decoding transaction contexts.
| Field Summary | |
protected MarshallerFactory |
mf
The marshaller factory parameter used to encode/decode contexts. |
| Fields inherited from class org.objectweb.david.libs.services.CosTransactions.handler.TSHandler |
receiver, sender, service_id |
| Constructor Summary | |
JRMITSHandler(int service_id,
org.omg.CosTSPortability.Sender sender,
org.omg.CosTSPortability.Receiver receiver,
MarshallerFactory marshaller_factory)
Builds a new Jeremie transaction service handler instance. |
|
JRMITSHandler(org.omg.CosTSPortability.Sender sender,
org.omg.CosTSPortability.Receiver receiver,
MarshallerFactory marshaller_factory)
Builds a new Jeremie transaction service handler instance. |
|
| Method Summary | |
protected org.omg.CosTransactions.PropagationContext |
decodeContext(org.omg.IOP.ServiceContext sc)
Decodes a Transaction Service propagation context from an IOP service context. |
protected org.omg.IOP.ServiceContext |
encodeContext(org.omg.CosTransactions.PropagationContext ctx)
Encodes a Transaction Service propagation context into an IOP service context. |
| Methods inherited from class org.objectweb.david.libs.services.CosTransactions.handler.TSHandler |
getReplyContext, getRequestContext, handleReplyContext, handleRequestContext, identify_receiver, identify_sender |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MarshallerFactory mf
| Constructor Detail |
public JRMITSHandler(int service_id,
org.omg.CosTSPortability.Sender sender,
org.omg.CosTSPortability.Receiver receiver,
MarshallerFactory marshaller_factory)
throws org.objectweb.jonathan.apis.kernel.JonathanException
service_id;
service_id - the transaction service idsender - a (possibly null) Sender instance;receiver - a possibly null Receiver instance;marshaller_factory - a marshaller factory
org.objectweb.jonathan.apis.kernel.JonathanException - if something goes wrong.
public JRMITSHandler(org.omg.CosTSPortability.Sender sender,
org.omg.CosTSPortability.Receiver receiver,
MarshallerFactory marshaller_factory)
throws org.objectweb.jonathan.apis.kernel.JonathanException
sender - a (possibly null) Sender instance;receiver - a possibly null Receiver instance;marshaller_factory - a marshaller factory
org.objectweb.jonathan.apis.kernel.JonathanException - if something goes wrong.| Method Detail |
protected org.omg.IOP.ServiceContext encodeContext(org.omg.CosTransactions.PropagationContext ctx)
encodeContext in class TSHandlerctx - the propagation context to be encoded.
protected org.omg.CosTransactions.PropagationContext decodeContext(org.omg.IOP.ServiceContext sc)
decodeContext in class TSHandlersc - a ServiceContext instance.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||