| java.lang.Object org.objectweb.jotm.jta.jeremie.TSHandler
TSHandler | public class TSHandler implements Service(Code) | | |
Constructor Summary | |
public | TSHandler(Context c, Object[] used_components) Builds a new Jeremie transaction service handler instance. |
Method Summary | |
public ServiceContext | getReplyContext(int id, Context k) Returns a reply context. | public ServiceContext | getRequestContext(int id, boolean r, byte[] key, Context k) Returns a request context. | public void | handleReplyContext(ServiceContext context, int id, Context k) This method is called by the services handler to let the operations
related to the target service be performed on reply arrival. | public void | handleRequestContext(ServiceContext context, int id, boolean r, byte[] key, Context k) This method is called by the services handler to let the operations
related to the target service be performed on request arrival. |
TSHandler | public TSHandler(Context c, Object[] used_components) throws JonathanException(Code) | | Builds a new Jeremie transaction service handler instance.
Parameters: c - unused Parameters: used_components - the components used to initialize the new TSHandler. exception: JonathanException - if something goes wrong. |
getReplyContext | public ServiceContext getReplyContext(int id, Context k)(Code) | | Returns a reply context.
a service context. |
getRequestContext | public ServiceContext getRequestContext(int id, boolean r, byte[] key, Context k)(Code) | | Returns a request context.
a service context. |
handleReplyContext | public void handleReplyContext(ServiceContext context, int id, Context k)(Code) | | This method is called by the services handler to let the operations
related to the target service be performed on reply arrival.
Parameters: context - the service context of the reply; |
handleRequestContext | public void handleRequestContext(ServiceContext context, int id, boolean r, byte[] key, Context k)(Code) | | This method is called by the services handler to let the operations
related to the target service be performed on request arrival.
Parameters: context - the service context of the request; |
|
|