|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jotm.jta.jeremie.TSHandler
Constructor Summary | |
TSHandler(org.objectweb.jonathan.apis.kernel.Context c,
java.lang.Object[] used_components)
Builds a new Jeremie transaction service handler instance. |
Method Summary | |
org.omg.IOP.ServiceContext |
getReplyContext(int id,
org.objectweb.jonathan.apis.kernel.Context k)
Returns a reply context. |
org.omg.IOP.ServiceContext |
getRequestContext(int id,
boolean r,
byte[] key,
org.objectweb.jonathan.apis.kernel.Context k)
Returns a request context. |
void |
handleReplyContext(org.omg.IOP.ServiceContext context,
int id,
org.objectweb.jonathan.apis.kernel.Context k)
This method is called by the services handler to let the operations related to the target service be performed on reply arrival. |
void |
handleRequestContext(org.omg.IOP.ServiceContext context,
int id,
boolean r,
byte[] key,
org.objectweb.jonathan.apis.kernel.Context k)
This method is called by the services handler to let the operations related to the target service be performed on request arrival. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TSHandler(org.objectweb.jonathan.apis.kernel.Context c, java.lang.Object[] used_components) throws org.objectweb.jonathan.apis.kernel.JonathanException
c
- unusedused_components
- the components used to initialize the new TSHandler.
org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.Method Detail |
public org.omg.IOP.ServiceContext getRequestContext(int id, boolean r, byte[] key, org.objectweb.jonathan.apis.kernel.Context k)
getRequestContext
in interface org.objectweb.jeremie.services.handler.api.Service
public org.omg.IOP.ServiceContext getReplyContext(int id, org.objectweb.jonathan.apis.kernel.Context k)
getReplyContext
in interface org.objectweb.jeremie.services.handler.api.Service
public void handleRequestContext(org.omg.IOP.ServiceContext context, int id, boolean r, byte[] key, org.objectweb.jonathan.apis.kernel.Context k)
handleRequestContext
in interface org.objectweb.jeremie.services.handler.api.Service
context
- the service context of the request;public void handleReplyContext(org.omg.IOP.ServiceContext context, int id, org.objectweb.jonathan.apis.kernel.Context k)
handleReplyContext
in interface org.objectweb.jeremie.services.handler.api.Service
context
- the service context of the reply;
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |