|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JBroker provides an API for specifying the Transaction Service to use. A Transaction Service is required to implement the following interface. You can set the Transaction Service in the ORB, using
Method Summary | |
void |
initialize(ORB orb,
ThreadContext threadContext,
Properties props)
Initialize the Transaction Service. |
void |
receivedReply(int requestId,
InputStream contextIS,
Exception ex)
A reply has been received. |
void |
receivedRequest(int requestId,
InputStream contextIS)
A request has been received. |
void |
sendingReply(int requestId,
OutputStream contextIS)
A reply is about to be sent. |
void |
sendingRequest(int requestId,
OutputStream contextOS)
A request is about to be sent. |
Method Detail |
public void initialize(ORB orb, ThreadContext threadContext, Properties props)
orb
- the ORB instancethreadContext
- provides fast access to thread level stacking
of transaction contextsprops
- if the Transaction Service is initialized by specifying a
txService.class property in the transactions.properties file,
then all the properties in the file are passed. Otherwise it is
null.public void sendingRequest(int requestId, OutputStream contextOS)
public void receivedReply(int requestId, InputStream contextIS, Exception ex)
public void receivedRequest(int requestId, InputStream contextIS)
public void sendingReply(int requestId, OutputStream contextIS)
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |