Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.wtc.jatmi
Interface TPRequestAsyncReply

All Superinterfaces:
  Serializable

    public interface TPRequestAsyncReply

extends Serializable

This class is a reply object used by a POJO to handle a asynchronous or synchronous reply to TUXEDO service.

- If EJB Name is specified in the configuration, then the call signature is EJB and any value specified in the attribute Target Class is ignored.
- If EJB Name is not specified and Target Class is specified, the call signature is POJO.
- For an exported resource with a target `.jar` file specified, WTC looks for the target class in the specified `.jar` file. If the class file is not found, a `TPException.TPENOENT` is thrown. Any error or exception occurring while loading the class also results in a `TPException.TPENOENT`.
- For a configured exported resource with a POJO call signature, the target class should have a method with a name of the Resource Name. This method takes two input parameters: the first is of class `weblogic.wtc.jatmi.TPServiceInformation`, the second is `weblogic.wtc.jatmi.TpRequestAsyncReply`.
- This method does not have a return value. The invoked POJO resource should call `tprequestAsyncreply` to return either a success or failure reply.

Method Summary
`void` | `failure(TPException failureReply)` For a failed service invocation of the target POJO service method.
`void` | `success(Reply successReply)` For successful service invocation of the target POJO service method.

Method Detail

### success

    void success(Reply successReply)

  For successful service invocation of the target POJO service method.

### failure

    void failure(TPException failureReply)

  For a failed service invocation of the target POJO service method.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD